facebookexperimental/Recoil
Recoil is an experimental state management library for React apps. It provides several capabilities that are difficult to achieve with React alone, while being compatible with the newest features of React. observed · 2026-10-14
Health v2 · maintenance only
10/100
- Activity 0
- Release rhythm 8
- Longevity 100
Flags: archived
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-21. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 2360
- days_rel: n/a
- days_push: 657
- n_releases_24m: 0
Adoption not part of the score
19410 stars · 1209 forks observed · 2026-10-14
What it is AI-extracted, prompt v1, taxonomy v1, 2026-10-19, confidence 0.97
Recoil is a JavaScript library that provides state‑management primitives for React applications. It lets you define atoms and selectors to share and derive state across components with a data‑flow graph.
Use cases
- share mutable state between multiple React components without prop drilling
- derive asynchronous or computed values from base state using selectors
- implement global UI state (e.g., theme, auth status) in a React app
- persist and synchronize React state with external storage or URL
- manage complex state dependencies that are hard to express with useState
- replace Redux or Context API for simpler, React‑centric state handling
When to choose
- You are building a React application and need a lightweight, React‑native state solution.
- You want fine‑grained subscriptions so only components that use a piece of state re‑render.
- Your app requires derived or asynchronous state that can be expressed as pure functions.
- You need built‑in support for persisting state or syncing it with external systems via recoil‑sync.
When to avoid
- You need a framework‑agnostic state library that works outside of React.
- Your project relies on ES5 environments without a build step for modern JavaScript features.
- You prefer a more battle‑tested, non‑experimental solution such as Redux or Zustand.
Facets
library · maturity active
state-management web-development frontend browser recoil react experimental atom selector global-state nodejs
9 sources
- readme: https://github.com/facebookexperimental/Recoil · fetched 2026-10-14 · 2e351fb32771
- homepage: https://recoiljs.org/ · fetched 2026-10-05 · 9507c3c9d4f9
- site_page: https://recoiljs.org/docs/recoil-sync/introduction · fetched 2026-10-05 · 1a069e775933
- site_page: https://recoiljs.org/docs/refine/Introduction · fetched 2026-10-05 · 3141f89d7e21
- site_page: https://recoiljs.org/docs/recoil-relay/introduction · fetched 2026-10-05 · 1b0b7ee9c44d
- site_page: https://recoiljs.org/docs/introduction/getting-started · fetched 2026-10-05 · bc1aff10f7c9
- site_page: https://recoiljs.org/docs/introduction/core-concepts · fetched 2026-10-05 · b0e2e5a5e307
- site_page: https://recoiljs.org/docs/introduction/installation · fetched 2026-10-05 · 18ef4402207d
- registry_npm: https://registry.npmjs.org/recoil · fetched 2026-10-05 · 6ca90aa07930
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| facebookexperimental/Recoil | main | 10 |
For agents
markdown · JSON · MCP: product_card(name="facebookexperimental/Recoil")
Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem