1×
Become a member
to unlock all features

Create egghead account to access 5000+ tutorials and resources from expert developers.

Create account
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