Feb 21, 2019
- Avoid double render if new mapState returns same mappedState (thanks @Turanchoks!)
- Add create function for better typing (@thanks nmn!)
Feb 6, 2019
- Update React dependency to 16.8.1, the one with hooks
- Update all other dependencies to the latest
Feb 1, 2019
- Bug fix: don't set state after unsubscribing from Redux (thanks @gaearon!)
Jan 28, 2019
- Move react-scripts and @types/node to devDependencies (thanks @stevenla)
Jan 20, 2019
- Add types field to package.json (thanks @Mrtenz!)
- Docs update to not condemn multiple useMappedState calls
Dec 26, 2018
- Update docs and tests
Dec 6, 2018
- Breaking Change: Export
StoreContext
instead of justStoreProvider
to allow access to the store in context outside ofredux-react-hook
. To update, replace imports ofStoreProvider
withStoreContext
and usage of<StoreProvider>
with<StoreContext.Provider>
Oct 30, 2018
- Breaking Change: Export
StoreProvider
instead of requiring you to pass in context
Oct 25, 2018
- Initial release