Recoil - an experimental state management library for React apps open-sourced by Facebook

Robert - May 15 '20 - - Dev Community

Recoil lets you create a data-flow graph that flows from atoms (shared state) through selectors (pure functions) and down into your React components. Atoms are units of state that components can subscribe to. Selectors transform this state either synchronously or asynchronously.

Here is the repo and if you want to jump straight to the Getting Started to see how it compares to other state management options.

And here's an awesome video from the library author explaining a bit more about Recoil from today's React Europe livestream.

The docs are incomplete yet, but this looks very promising and easy to use.

. . . . . . . . . . . . . . . . . . .
Terabox Video Player