Skip to content

Releases: davidgilbertson/react-recollect

v2.2.0

17 Nov 07:29
Compare
Choose a tag to compare
  • Added type definition file
  • Added a more robust path separator to prevent collisions

v2.1.1

16 Nov 08:35
Compare
Choose a tag to compare

Console warn in browsers that don't support Proxy.

v2.1.0

13 Nov 08:17
Compare
Choose a tag to compare

Added two new parameters to the afterChange callback:

  • updatedComponents - an array of the React components that were updated.
  • oldStore - the old store

This is to allow more sophisticated reactions to changes, as documented here: https://github.com/davidgilbertson/react-recollect/blob/master/docs/reacting-to-changes.md

Version two

11 Nov 08:10
Compare
Choose a tag to compare

The Recollect store is now immutable!

This required a slight tweak to the API. Now, when wrapping a component in collect, you will get the store as a prop. You should use that to interact with the store, rather than the global store object exported by react-recollect like you did in version 1.