github facebookexperimental/Recoil 0.0.8

latest releases: 0.7.7, 0.7.6, 0.7.5...
3 years ago

Bug Fixes

  • Build system and repository syncing fixed.
  • Fixed a bug where atoms that stored self-referential structures would cause an infinite loop. (#153)
  • Fixed bugs affecting Server-Side Rendering. (#53)

Features

  • TypeScript support is now available via DefinitelyTyped.
  • atomFamily and selectorFamily: these provide a standard way to create atoms and selectors using memoized functions. Compared with doing this yourself, in the future these will help with memory management.
  • noWait, waitForNone, waitForAny, waitForAll: helpers for concurrency and other advanced logic in async selectors.
  • constSelector and errorSelector: selectors that always evaluate to a constant or always throw an error.
  • readOnlySelector: wraps a read-write

Don't miss a new Recoil release

NewReleases is sending notifications on new releases.