Master
NOT ON THE CURRENT EDITION
This blip is not on the current edition of the Radar. If it was on one of the last few editions it is likely that it is still relevant. If the blip is older it might no longer be relevant and our assessment might be different today. Unfortunately, we simply don't have the bandwidth to continuously review blips from previous editions of the RadarUnderstand more
Published: Oct 28, 2020
Oct 2020
评估?

越来越多正在使用 React 的团队,都开始重新评估他们对于状态管理的选项,这也是我们在重新考虑 Redux 时提到的。现在,React 的缔造者 Facebook,发布了 Recoil,一个用于管理状态的全新框架。它源自一个要应付大量数据的内部应用。即便现在对 Recoil 没有充分的实践经验,我们仍然能预见它的潜力和前景。API 简单易学,感觉像是惯用的 React。不像其他方法,Recoil 为应用间共享状态提供了一个有效而灵活的办法:它支持从派生数据和查询动态地创建状态,并在不损害代码分割的情况下,实现整个应用范围内的状态监控。