Releases: davidgilbertson/react-recollect
Releases · davidgilbertson/react-recollect
v2.2.0
- Added type definition file
- Added a more robust path separator to prevent collisions
v2.1.1
Console warn in browsers that don't support Proxy
.
v2.1.0
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
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.