Releases: albertogasparin/react-adone
Releases · albertogasparin/react-adone
v4.0.0
v3.0.2
- Improved Redux devtools integration with support for commit, reset and custom action dispatch
- Fixed React
readContext
via internal dispatcher
v2.4.0
New features:
YieldScope
, a component to create multiple instances of the same basket- Registry now exposes a
configure
method to setinitialStates
andactionExtraArgument
v2.3.1
Improvements:
- removed double rendering on
Yield
mount 🎉
NowYield
grabs the basket instance (or creates one) during the very initial render cycle. This change makes it compatible with SSR (no more throwing away content) and "Suspense ready" - fix an odd bug in flow, where sometimes state props were marked as non existent but correctly typed anyway 🤨
v2.3.0
New stuff:
- added
withProps
prop to allow passing arguments topick
. Pick signature is now(state, props) => {}
v2.2.0
New stuff:
- Configurable 3rd argument for basket actions thunk, via
actionExtraArgument
prop (onYieldProvider
) ordefaultRegistry.setActionExtraArgument()
(when used without provider)
v2.1.0
New stuff:
BasketRegistry
concept and class