Go ProSign in

This Lesson is for Members

Subscribe today and get access to all lessons! Plus direct HD download for offline use, enhances transcripts, member comment forums, and iTunes "podcast" RSS feed. Level up your skills now!

Unlock This Lesson

Already subscribed? Sign In

Hide playlist

    Use Unstated to share state between two separate rendered components

    Andrew Del PreteAndrew Del Prete

    In this lesson I refactor a React component that uses local state to use Unstated. I also show how you can utilize Unstated as a global store for two separate rendered components.

    Additional Resources: https://medium.com/react-native-training/unstated-the-setstate-of-react-state-management-8ce47b240e6d https://github.com/jamiebuilds/unstated

    You must be a Member to view code