-
Notifications
You must be signed in to change notification settings - Fork 378
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
Reconcile reducer/reducers #783
Conversation
c078e0b
to
0422607
Compare
I've added a commit to this branch to try and make this more consistent:
I do believe it would be better if the core/plugin key were |
Awesome - I'll close this one and look at that. Thanks a ton |
In retrospect, I should have included both of these commits in #784. Or did you specifically not like the |
Sorry -- for some reason I thought it was included in #784 :D
I agree with this -- sorry about the inconsistency that was around from the beginning here. I think the future intent (that isn't documented) is, like you said. It would be nice to be able to take a reducer function or an object as well as the one-off reducer methods. If you have any stronger opinions on this -- I'm totally happy with either direction 😄 |
I poked around at this for a bit, and it's not obvious how a plain reducer function should fit in the existing reducer object composition model:
If a plugin provides a plain function for
Or maybe there's another option? Thoughts? |
We can revisit #783 (comment) later, but for now I've merged this for better naming consistency. |
Thank you - sorry I dropped off the face of the earth on this one. I totally agree with your assessment above. |
Griddle major version
1.11.0
Changes proposed in this pull request
Fix an apparent typo from #757
Why these changes are made
A couple of the stories were not working (controlled griddle)
Are there tests?
No but there are some fixed stories