-
-
Notifications
You must be signed in to change notification settings - Fork 623
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
atomWithImmer doesn't work #1155
Comments
If you wrap |
|
I understand the different behavior in React 18 and 17. #1158 (comment) #1159 will improve the behavior, it doesn't re-render on updates. (on mount, it's double render with one commit.) https://codesandbox.io/s/atomwithimmer-demo-forked-2cg03z?file=/src/App.js |
object value doesn't change, but component is rendered repeatedly~
demo link
https://codesandbox.io/s/atomwithimmer-demo-u4pw0u?file=/src/App.js
The text was updated successfully, but these errors were encountered: