
Recoil
facebookexperimental
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.
AI 简介
Recoil 是一个针对 React 应用的实验性质的状态管理库。它提供了一些难以仅通过 React 实现的功能,如原子状态管理和派生数据依赖,并且与 React 的最新特性兼容。核心功能包括使用原子(Atoms)来表示应用中的独立状态片段以及选择器(Selectors)来派生出新的状态或计算值,这些都使得状态管理和共享变得更加灵活高效。适用于需要复杂状态逻辑但又希望保持代码简洁易维护的 React 项目中。
JavaScript
MIT License19.5k
Stars
1.2k
Forks
19.5k
Watchers
255
Issues
Star 增长
今日0
近 7 天+1
近 30 天+2
综合评分69.95
默认分支main