rsnext/examples/with-recoil
2021-01-19 07:28:54 +00:00
..
components Adding Example: with-recoil (#13380) 2020-06-08 21:33:08 -04:00
lib [with-recoil example] use functional form of state updaters for simplicity (#14014) 2020-06-13 09:04:34 +00:00
pages Adding Example: with-recoil (#13380) 2020-06-08 21:33:08 -04:00
.gitignore Added .gitignore to examples that are deployed to vercel (#15127) 2020-07-16 10:52:23 -04:00
package.json Ensure all examples are MIT licensed (#16691) 2020-08-29 22:32:35 -04:00
README.md Include utm_source on example links to vercel.com (#21305) 2021-01-19 07:28:54 +00:00

Recoil Example

This example shows how to integrate Recoil in Next.js.

Recoil is an experimental set of utilities for state management with React used by some teams at Facebook. This example takes the code from the redux examples and demonstrates how it would be implemented with Recoil.

Deploy your own

Deploy the example using Vercel:

Deploy with Vercel

How to use

Execute create-next-app with npm or Yarn to bootstrap the example:

npx create-next-app --example with-recoil with-recoil-app
# or
yarn create next-app --example with-recoil with-recoil-app

Deploy it to the cloud with Vercel (Documentation).