rebloc 0.2.0
rebloc: ^0.2.0 copied to clipboard
A state management library for Flutter that combines aspects of Redux and BLoC. Rebloc uses streams and BLoCs to compose middleware and reducers.
0.2.0 10/18/2018 #
- Breaking change: Added the concept of "afterware" to the library.
- Afterware are middle-ware like functions that are invoked after an
Actionhas passed the reducing stage. If you need to perform a side effect after the app state has been updated in response to a givenAction(e.g. save state to disk, dispatch other actions), afterware is the place to do it.
- Afterware are middle-ware like functions that are invoked after an
0.1.0 10/17/2018 #
- Began using Dart versioning correctly.
- Added
FirstBuildDispatcher, a new widget that will dispatch anActionto an ancestorStorethe first time it's built.
0.0.7 10/7/2018 #
- Changed
StoreProviderto always useinheritFromWidgetOfExactType. - Added
DispatchSubscriber, a widget that subscribes to an ancestorStoreProvider's dispatch function and builds widgets that can call it.
0.0.6 10/5/2018 #
- Added
useful_blocs.dartto hold some built-inBlocs that devs might want to use. - Added
DebouncerBloc, a Bloc capable of debouncing repeated actions.- Note that if an
Actionis cancelled byDebouncerBloc, anyActionthat has been given to itsafterwardmethod will also be cancelled.
- Note that if an
0.0.5 9/11/2018 #
- Added
afterwardmethod to theActionclass.
0.0.4 8/27/2018 #
- First release in which I remembered to update the change log.
- Two examples in place, plus the library itself.
- Seems relatively stable.