React Tearing in Jotai and Reducer #2752
Unanswered
rikisamurai
asked this question in
Q&A
Replies: 1 comment 6 replies
-
Yes, it's an intentional limitation. See also: #2137 |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Bug Description
Hi, I'm currently learning about React tearing. I discovered that Jotai uses useReducer, which might lead to tearing issues. However, when I tried Jotai and created a simple demo using useReducer alone, I didn't experience any tearing. I'm not sure if there's an issue with my demo, but I'm very curious about why it's behaving differently.

There is a codesandbox
Reproduction Link
https://codesandbox.io/p/sandbox/rwvlk4
Beta Was this translation helpful? Give feedback.
All reactions