Version 1.9 throwing errors where version 1.4 was not #3416
Unanswered
roarengineering
asked this question in
Q&A
Replies: 2 comments 3 replies
-
Immer freezes the state it produces, to prevent accidental mutation. It sounds like you're trying to mutate data you're getting from the store, which you shouldn't ever do. 1.4.0 was a lot of versions ago, so I'm not sure what change in particular introduced this. |
Beta Was this translation helpful? Give feedback.
0 replies
-
It seems it may have been introduced with this version, according to the release notes. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I recently updated my project from version 1.4.0 to version 1.9.2 and have been seeing this error in various places since then:
cannot assign to read only property "xxxx" of object "[]"
Nothing changed besides the upgrade. I want to better understand the error, but also what changed between versions and why, so that I can decide the best way to approach fixing this.
Any explanation for the loss of backwards compatibility would be great!
Thanks
Beta Was this translation helpful? Give feedback.
All reactions