Replies: 2 comments 1 reply
-
@yslpn some docs are outdated, I encourage you to read our new docs at |
Beta Was this translation helpful? Give feedback.
1 reply
-
https://x.com/dai_shi/status/1846480778689135014 It's still uncertain if the error is a true positive or a false positive. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi. I wanted to ask how the store initialization pattern with props and the new React Compiler fit together? Is there any way to avoid this error in the linter and how safe is it to turn off the linter in this case?
https://zustand.docs.pmnd.rs/guides/initialize-state-with-props
I often use this pattern in my code:
But I get an eslint error:
Beta Was this translation helpful? Give feedback.
All reactions