Recoil is a brand new state management library for React, developed by Facebook.
Recoil works and thinks like React. Add some to your app and get fast and flexible shared state.
This quick collection will get you up and running with Recoil, you're going to learn how to:
useRecoilStatehook to update an atom
useRecoilValueto access value stored in an atom in a read-only fashion
selectors🔥 in order to calculate derived data based on state stored within atoms (this is really powerful!)