Lesson

Use Unstated to share state between two separate rendered components

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.

Duration
3 min
Access
Free
Transcript
Available

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