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

fix(immer): import named produce export from immer #146

Merged
merged 1 commit into from
Jan 6, 2025

Conversation

bowheart
Copy link
Collaborator

Description

Immer v10 removed the default produce export. The @zedux/immer package claims to be compatible with all versions of immer above 9.0.19, but it's still using the default produce export. Update to use the named produce export instead which works in both immer v9 and v10.

Issues

Resolves #145

@bowheart bowheart changed the base branch from master to v1.x December 30, 2024 23:32
@bowheart bowheart changed the base branch from v1.x to master December 30, 2024 23:33
@bowheart bowheart merged commit 0c64805 into master Jan 6, 2025
2 checks passed
@bowheart bowheart deleted the josh/immer-produce-import branch January 6, 2025 16:44
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.

Immer v10 breaking change
1 participant