Go ProSign in

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

Michel WeststrateMichel Weststrate
4:34

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

You must be a Member to view code