We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is there an example of how to use combineReducers to pass a set of reducers to the store similar to how it is done in React's combineReducers?
combineReducers
I see how to use combineReducers as far as creation, but not sure how to use it:
final store = Store<ListState>(combinedreducers, initialState: combinedAppState());
The text was updated successfully, but these errors were encountered:
Hey there -- I've put up some docs on the Original Redux repo for this kinda info: https://pub.dartlang.org/packages/redux#docs, specifically this article: https://github.com/johnpryan/redux.dart/blob/master/doc/combine_reducers.md
In addition, you can see flutter_redux used in a slightly more complex example app, including using combineReducers here: https://github.com/brianegan/flutter_architecture_samples/blob/master/example/redux/lib/reducers/todos_reducer.dart#L10
Hope that helps! If not, please let me know how I can provide more information
Sorry, something went wrong.
Thanks for the resources @brianegan I appreciate your time & help. I'll check them out now.
No branches or pull requests
Is there an example of how to use
combineReducers
to pass a set of reducers to the store similar to how it is done in React'scombineReducers
?I see how to use combineReducers as far as creation, but not sure how to use it:
final store = Store<ListState>(combinedreducers, initialState: combinedAppState());
The text was updated successfully, but these errors were encountered: