1×
Become a member
to unlock all features

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

Create account
Autoplay

    Automatically Send Changes to the Server by Using onSnapshot

    reactReact
    ^16.0.0
    mobxMobX
    ^3.0.0

    Let's make sure our changes get persisted. We will use the window.fetch api to store our changes in the json-server. And onSnapshot to do this automatically