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

    Derive Information from Models Using Views

    reactReact
    ^16.0.0
    mobxMobX
    ^3.0.0

    Redundant data or caching data is a constant source of bugs. MST adheres to the philosophy that no data that can be derived should ever get stored. In this lesson, you will learn how to introduce views that declaratively derive data and which cache data smartly.

    In this lesson you will learn:

    • How to introduce views on models
    • That computed properties are powered by Mobx computed fields
    • How to combine MST with Mobx utilities like reaction

    To learn more about MobX basics check out my course, Manage Complex State in React Apps with MobX