Skip to content

Releases: albertogasparin/react-adone

v4.0.0

14 Apr 07:06
Compare
Choose a tag to compare
  • Align createHook options API to createSubscriber
  • Fix hooks Flow typings
  • Improve performance and add performance test example

v3.0.2

07 Apr 22:09
Compare
Choose a tag to compare
  • Improved Redux devtools integration with support for commit, reset and custom action dispatch
  • Fixed React readContext via internal dispatcher

v2.4.0

04 Nov 09:16
Compare
Choose a tag to compare

New features:

  • YieldScope, a component to create multiple instances of the same basket
  • Registry now exposes a configure method to set initialStates and actionExtraArgument

v2.3.1

20 Oct 04:06
Compare
Choose a tag to compare

Improvements:

  • removed double rendering on Yield mount 🎉
    Now Yield 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

20 Oct 04:00
Compare
Choose a tag to compare

New stuff:

  • added withProps prop to allow passing arguments to pick. Pick signature is now (state, props) => {}

v2.2.0

16 Oct 10:27
Compare
Choose a tag to compare

New stuff:

  • Configurable 3rd argument for basket actions thunk, via actionExtraArgument prop (on YieldProvider) or defaultRegistry.setActionExtraArgument() (when used without provider)

v2.1.0

16 Oct 10:30
Compare
Choose a tag to compare

New stuff:

  • BasketRegistry concept and class