Skip to content
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

refactor: removing immer to fix max call stack error with production … #20

Merged
merged 2 commits into from
Sep 21, 2021

Conversation

egadstar
Copy link
Contributor

Summary:

Removed immer dependency after seeing similar issues related to production only Max Call Stack errors within the immer issue tracker.

Verification:

Tested the change against the example application along with my application. This should resolve #15.

@gorhom
Copy link
Owner

gorhom commented Sep 21, 2021

thanks @egadstar for submitting this PR :)

@gorhom gorhom merged commit 6adb606 into gorhom:master Sep 21, 2021
gorhom pushed a commit that referenced this pull request Sep 21, 2021
#20)(by @egadstar)

* refactor: removing immer to fix max call stack error with production builds

* refactor: drying the reducer logic
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

RangeError - Maximum call stack size exceeded.
2 participants