Skip to content


Choose a tag to compare
@drarmstr drarmstr released this 04 Nov 06:02
  • Added useRecoilRefresher_UNSTABLE() hook which forces a selector to re-run it's get(), and is a no-op for an atom. (#972, #1294, #1302)
  • Atom effect improvements:
    • Add getLoadable(), getPromise(), and getInfo_UNSTABLE() to Atom Effects interface for reading other atoms. (#1205, #1210)
    • Add isReset parameter to onSet() callback to know if the atom is being reset or not. (#1358, #1345)
  • Loadable improvements:
    • Publish RecoilLoadable interface with factories and type checking for Loadables. (#1263, #1264, #1312)
    • Ability to map Loadables with other Loadables. (#1180)
    • Re-implement Loadable as classes. (#1315)
  • Improved dev-mode checks:
    • Atoms freeze default, initialized, and async values. Selectors should not freeze upstream dependencies. (#1261, #1259)
    • Perform runtime check that required options are provided when creating atoms and selectors. (#1324)
  • Allow class instances in family parameters for Flow