Become a member
to unlock all features

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

Create account

    Restore the Model Tree State using Hot Module Reloading when Model Definitions Change


    In this lesson, we will set up Hot Module Reloading(HMR), making it possible to load new definitions for React components and MST models and apply them to a running application.

    In this lesson you will learn:

    • How HMR roughly works
    • How to accept changes to components
    • How to accept changes to changing model definitions, while keeping state