New issue
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
const reducers #73
base: master
Are you sure you want to change the base?
const reducers #73
Conversation
Codecov Report
@@ Coverage Diff @@
## master #73 +/- ##
==========================================
- Coverage 92.10% 88.88% -3.22%
==========================================
Files 2 2
Lines 38 45 +7
==========================================
+ Hits 35 40 +5
- Misses 3 5 +2
Continue to review full report at Codecov.
|
I think similar changes can also be made to middleware. |
This PR has been open for a while, does anyone have anything to say? |
Thanks! Sorry -- only have a little bit of time for open source these days and missed this one. Could you please describe in a Do In my view, Reducer classes are instantiated once, when the app is first created. They aren't like Widgets which can re-instantiated over and over, where a |
Allow to build entire reducers tree as const object.
CombinedReducer
class to easily combine reducers in const contextTypedReducer
constructor as constUntypedReducer
as shorthand forTypedReducer<State, dynamic>
.doc/combine_reducers.dart