illustration for Up and running with Recoil - a new state management library for React

Up and running with Recoil - a new state management library for React

Instructor

Tomasz Łakomy
5m
Star icon$$$
Star icon$$$
Star icon$$$
Star icon$$$
Star icon$$$
4.4
630
people completed
Bookmark
Download
RSS

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:

  • add Recoil to your React project
  • create a Recoil atom and use it to store a piece of state
  • use useRecoilState hook to update an atom
  • use useRecoilValue to access value stored in an atom in a read-only fashion
  • use 🔥selectors🔥 in order to calculate derived data based on state stored within atoms (this is really powerful!)