Use Unstated to share state between two separate rendered components

Share this video with your friends

Send Tweet

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: