illustration for Sync State Across Components with Recoil in React

Sync State Across Components with Recoil in React

5m
Updated 4 years ago
Star icon$$$
Star icon$$$
Star icon$$$
Star icon$$$
Star icon$$$
4.4
973
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!)

Learner Reviews

  • Learner
    2 years ago
    Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    What did you like about this course?

    Quite straightforward, and usefull information :)

  • Gustavo Malamud
    2 years ago
    Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    What did you like about this course?

    A straight first look into recoil, no BS.

  • Learner
    3 years ago
    Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    What did you like about this course?

    Before I didn't know about Recoil. This is very great to manage state like React Context and Redux. I learned a lot of thing from this. Thank you Tomasz.

  • SOUMENDU MUKHERJEE
    3 years ago
    Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    What did you like about this course?

    simple and easy to understand the concept 👍

  • Learner
    3 years ago
    Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    What did you like about this course?

    Very good and clear explanation for anyone getting started with Recoil.

  • Eliot Sanford
    3 years ago
    Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    What did you like about this course?

    Enjoyed the course Tomasz. I'll be using recoil for the first time and work and will return to this video. Thanks for the simple demonstration. Selectors clicked in this go around.

Course Content

5m ‱ 3 lessons

    You might also like these resources:

    illustration for Introduction to Cloudflare Workers

    Introduction to Cloudflare Workers

    Kristian Freeman・36m・Course

    Become familiar with the Workers CLI wrangler that we will use to bootstrap our Worker project. From there you'll understand how a Worker receives and returns requests/Responses. We will also build this serverless function locally for development and deploy it to a custom domain.

    illustration for Create an eCommerce Store with Next.js and Stripe Checkout

    Create an eCommerce Store with Next.js and Stripe Checkout

    Colby Fayock・1h 4m・Course

    This is a practical project based look at building a working e-commerce store using modern tools and APIs. Excellent for a weekend side-project for your developer project portfolio

    illustration for Practical Git for Everyday Professional Use

    Practical Git for Everyday Professional Use

    Trevor Miller・1h・Course

    git is a critical component in the modern web developers tool box. This course is a solid introduction and goes beyond the basics with some more advanced git commands you are sure to find useful.