/react-recoil-workshop

A workshop to demonstrate how we can get rid of Redux and make use of Facebook's experimental new state management library, Redux.

Primary LanguageJavaScriptOtherNOASSERTION

React Recoil Workshop

A workshop to demonstrate how we can get rid of Redux and make use of Facebook's experimental new state management library, Redux.

Table of Contents

🎯 Goals

  • Learn why Redux is somewhat boilerplatey and bloated
  • Learn the Recoil architecture
  • Learn some of the basic Recoil hooks
  • Refactor from a Redux state management implementation to a solely Recoil state management implementation

âš¡ Get Started

Clone Repo

# clone the repo
$ git clone git@github.com:askharley/react-recoil-workshop.git

# navigate into the repo root
$ cd react-recoil-workshop

# go into the start project
$ cd start

Install

# install the dependencies
$ npm i

# start the application
$ npm start

📚 Projects

  • start - a starting place to begin your work
  • final-redux - an example of what a final implementation using Redux would look like
  • final-recoil - an example of what a final implementation using Recoil would look like

🤖 Deployments