Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

egghead.io

Manage React State with Recoil

via egghead.io

Overview

In this free collection on Facebook's new state management library, we'll get started using Recoil in our React applications and then delve into various common use cases that we may encounter in the field.
We'll start with the basics of state management in Recoil: the Atoms and Selectors. Then we'll dive further into the Selector API, an important part of the library. Along the way we'll learn different strategies for handling synchronous and asynchronous Selectors.
An efficient and practical course to learning Recoil. The Recoil version used in this course is ^0.0.10, and the latest version is 0.3.1, yet this is still a great introduction to understanding the core functionality of Recoil. As of 0.3.1, there are no major breaking changes.

Syllabus

  • Update Recoil State in React using useRecoilState
  • Display Computed Data Using Recoil Selectors in React
  • Use selectorFamily to take arguments in your Recoil selectors
  • Use Recoil Selectors to Make API Calls in React
  • Handle Recoil Asynchronous Selectors using Loadables in React
  • Choose the Right Hook for Your Recoil State

Taught by

Yoni Weisbrod

Reviews

4.8 rating at egghead.io based on 44 ratings

Start your review of Manage React State with Recoil

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.