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:
useRecoilState
hook to update an atomuseRecoilValue
to access value stored in an atom in a read-only fashionselectors
🔥 in order to calculate derived data based on state stored within atoms (this is really powerful!)Frontend Engineer at Stedi, building Cloudash. His interests include React, AWS, testing, Svelte, VR, app performance and... jQuery, which he still thinks is the best library ever.