Skip to content

w_flux 0.3.0

Compare
Choose a tag to compare
@maxwellpeterson-wf maxwellpeterson-wf released this 30 Jul 16:19
· 412 commits to master since this release

The Client Platform team anticipates this will be the last minor release before 1.0.0, at which point this library will become open source.

This pre-1.0 minor release of w_flux adds some new features, tests, and breaking changes.

Features & Improvements

  • #13: Actions are now awaitable!
  • #16: FluxComponent now contains a default implementation of getStoreHandlers making its implementation optional. Adds a new redrawOn function to auto redraw when the returned list of stores trigger. A FluxComponent with a single Store passed in will automatically listen to it and redraw, unless redrawOn is overridden.

Bugfixes

  • #11: triggerOnAction with async onAction functions now works properly.

Breaking Changes

  • #14: Store no longer extends Stream, cleans up the public api.
    • If you were using and Stream provided functions on a store directly (e.g. myStore.where(...).listen(...)), those functions will no longer be available.
  • #17: FluxComponent's stores getter is now store. Makes the getter logically more flexible, accounts for the case where you are passing in one store instead of a composite of multiple stores.

Other

  • Unit tests updated, new ones added for FluxComponent
  • Dartformat now enforced on build