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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Base state is not reconciled if read from draft and reassigned #659
Closed
davidye opened this issue
Aug 27, 2020
· 1 comment
路 Fixed by contrub/omm_playground#16, catalinateguiani/tv_series#13, knaylor/johnlagio#3, jngong/portfolio#8 or newerton/gostack-modulo07#1
Closed
Base state is not reconciled if read from draft and reassigned #659
davidye opened this issue
Aug 27, 2020
· 1 comment
路 Fixed by contrub/omm_playground#16, catalinateguiani/tv_series#13, knaylor/johnlagio#3, jngong/portfolio#8 or newerton/gostack-modulo07#1
Comments
mweststrate
changed the title
Immutability breaks when accessing draft (regression in v7)
Base state is not reconciled if read from draft
Sep 2, 2020
mweststrate
changed the title
Base state is not reconciled if read from draft
Base state is not reconciled if read from draft and reassigned
Sep 2, 2020
馃帀 This issue has been resolved in version 7.0.13 馃帀 The release is available on: Your semantic-release bot 馃摝馃殌 |
This was referenced Mar 7, 2021
This was referenced Mar 14, 2021
This was referenced Mar 16, 2021
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
馃悰 Bug Report
Accessing draft.bar and then setting draft.bar to the same value breaks immutability. This appears to be a regression starting from version 7.0.0 onwards. Works as expected in 6.
Link to repro
https://codesandbox.io/s/immer-sandbox-forked-ldhg9?file=/src/index.ts
Environment
We only accept bug reports against the latest Immer version.
The text was updated successfully, but these errors were encountered: