Getting Started with Recoil in React
Offered By: egghead.io
Course Description
Overview
Recoil is a new (experimental!) library from Facebook that can handle complex shared data across a large react app.
In this course, we'll create a simple game with React using Recoil, to explore how you can share and update state across an app using Atoms and Selectors.
Recoil is similar to (but different than) Context, Redux, or other shared state libraries (like MobX), but is designed to handle large (and variable) numbers of state that can update without re-rendering your entire app's component tree.
In this course, we'll create a simple game with React using Recoil, to explore how you can share and update state across an app using Atoms and Selectors.
Recoil is similar to (but different than) Context, Redux, or other shared state libraries (like MobX), but is designed to handle large (and variable) numbers of state that can update without re-rendering your entire app's component tree.
Syllabus
- Set Up Recoil in a new React App
- Create Shared State with Recoil in a React App
- Read a Value from Recoil with useRecoilValue
- Compute a Value in Recoil Using a Selector
- Write a Custom Recoil Hook to Reset a Value in the Recoil State
- Use Async Functions in a Recoil Selector
Taught by
Chris Achard
Related Courses
Software as a ServiceUniversity of California, Berkeley via Coursera Intro to Computer Science
University of Virginia via Udacity Web Development
Udacity Software Engineering for SaaS
University of California, Berkeley via Coursera CS50's Introduction to Computer Science
Harvard University via edX