1×
Become a member
to unlock all features

Level Up!

Access all courses & lessons on egghead today and lock-in your price for life.

Autoplay

    Loading Data from the Server

    reactReact
    ^16.0.0
    mobxMobX
    ^3.0.0

    Let's stop hardcoding our initial state and fetch it from the server instead.

    In this lesson you will learn:

    • Set up basic data fetching
    • Leverage the afterCreate lifecycle hook to automatically run any setup logic a model instance needs to do after creation