-
-
Notifications
You must be signed in to change notification settings - Fork 192
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
Feat/action config (ability to pass a config object and disable immer) #628 #781
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Hi @s900mhz ! Thanks for looking into this. With regards to the internal changes, @ctrlplusb has to do a review for this. In the mean time, the API-docs & TS-types also needs to reflect these changes. |
Sure thing! I'll work on the types and docs tonight. |
00ca85d
to
de42472
Compare
index.d.ts
Outdated
* @param immer - If true, the action will be wrapped in an immer produce call. Otherwise, the action will update the state directly. | ||
**/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
suggestion: Can we add that the default value is true
.
Excellent stuff. Thanks for doing this. Just a few minors and we can get this merged. 🎉 |
Co-authored-by: Sean Matheson <sean@ctrlplusb.com>
Co-authored-by: Sean Matheson <sean@ctrlplusb.com>
@ctrlplusb Awesome! I pushed the changes, lmk what you think! |
Thanks for your contribution @s900mhz 👏 This will be included in the release this week! |
Hey all,
This PR is to address this issue and milestone right here #628
Test were added, it's late here.. I didn't write tests for custom reducers. I can update this PR later with that.