- New API with useMutableSource (#48)
- Introduce a special
memo
to be used instead oftrackMemo
- This is technically a breaking change, but released as a minor update.
- Notify child components updates in callback and effect not in render
- Add debug value to show tracked paths in useTrackedState
- Unwrap Proxy before wrapping to mitigate possible pitfalls
- Use improved useIsomorphicLayoutEffect in Provider (#47)
- A workaround for React render warning (hopefully temporarily)
- Improve TypeScript typing (#46)
- Fix typing for createCustomContext (#44)
- A new API getUntrackedObject to revert proxy
- A new API trackMemo to mark objects as used in React.memo
- Inline useForceUpdate to remove unnecessary deps
- Remove the experimental useTrackedSelectors hook
- No useLayoutEffect for invoking listeners (which leads de-opt sync mode)
- Ref: #31
- Direct state context
- Support custom context
- Rename hooks to be somewhat compatible with react-redux hooks
- New deep proxy instead of proxyequal
- There is no breaking change in API, but it may behave differently from the previous version.
- Rename src file names to be more consistent
- Remove experimental useReduxStateMapped
- useLayoutEffect and keep latest state after update (see #20)
- useForceUpdate uses counter instead of boolean (see #20)
- Organize code in multiple files with some improvements
- Update dependencies
- New useReduxSelectors (experimental)
- Improve useReduxStateMapped with proxyequal
- Implement useReduxStateMapped (experimental/unstable/undocumented)
- Rename project
- Old "react-hooks-easy-redux"
- New "reactive-react-redux"
- Memoize patched store with batchedUpdates
- No running callback in every commit phase (reverting #5)
- Avoid recalculating collectValuables for optimization
- Use unstable_batchedUpdates for optimization
- This is not a breaking change as it has a fallback
- Not tested with react-native (help wanted)
- Better handling stale props issue
- Cache proxy state for more performance
- Improve useRef usage for concurrent mode
- Improve initialization for concurrent mode
- Updated dependencies (React 16.8)
- Do not use useMemo as a semantic guarantee
- useReduxStateSimple for shallow object comparison
- No spread guards in proxyequal for better compatibility
- Better warning message for no ReduxProvider
- Refactor to support dynamic updating
- Support changing store
- Fix types and examples for the previous change
- Gave up bailOutHack and use subscriptions
- bailOutHack with ErrorBoundary
- Use proxyequal for deep change detection
- Initial experimental release