flutter_redux 0.3.5
flutter_redux: ^0.3.5 copied to clipboard
A library that connects Widgets to a Redux Store
Changelog #
0.3.5 #
- Bugfix:
onInitwas not called before the initial ViewModel is constructed.
0.3.4 #
- Fix Changelog.
0.3.3 #
- Optional
onDisposefunction - TheStoreConnectorandStoreBuilderWidgets now accept anonDisposefunction that will be run when the Widget is removed from the Widget tree (using State.dispose under the hood). TheonDisposefunction takes the Store as the first parameter, and can be used to dispatch actions that remove stale data from your State tree. - Move to github
0.3.2 #
- Optional
onInitfunction - TheStoreConnectorandStoreBuilderWidgets now accept anonInitfunction that will be run the first time the Widget is created (using State.initState under the hood). TheonInitfunction takes the Store as the first parameter, and can be used to dispatch actions when your Widget is first starting up. This can be useful for data fetching. ignoreChangefunction -StoreConnectornow takes an advanced usage / optional functionignoreChange. It will be run on every storeonChangeevent to determine whether or not theViewModelandWidgetshould be rebuilt. This can be useful in some edge cases, such as displaying information that has been deleted from the store while it is animating off screen.- Documentation updates
0.3.1 #
- Add the ability to build only once, while avoiding rebuilding on change. This can be handy if you need to manage access to the Store, but want to handle when to update your own Widgets.
0.3.0 #
- Make
StoreProvider.ofa factory rather than a static method - Additional documentation based on questions from the community
0.2.0 #
- Update for Redux 2.0.0
0.1.1 #
- Update documentation
0.1.0 #
Initial Version of the library.
- Includes the ability to pass a Redux
Storedown to descendant Widgets using aStoreProvider. - Includes the
StoreConnectorandStoreBuilderWidgets that capture theStorefrom theStoreProviderand build a Widget in response.



