Become a member
to unlock all features

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

Create account

    Store Store in Local Storage


    For an optimal user and developer experience, storing state in local storage is often a must.

    In this lesson you will learn:

    • Using onSnapshot to get notified about new snapshots
    • Storing snapshots in local storage
    • Restore a state tree from local storage
    • Verifying whether a snapshot conforms to a model using Model.is(...)