React 19 causing useAtomValue
+ atomWithObservable
to re-suspense on new value
#2848
Replies: 5 comments 18 replies
-
Thanks for reporting. Yeah, a repro with https://stackblitz.com would be helpful. |
Beta Was this translation helpful? Give feedback.
-
Hello, do you have any updates for this issue? Seems like I am facing the same |
Beta Was this translation helpful? Give feedback.
-
Not sure what |
Beta Was this translation helpful? Give feedback.
-
Hello, was there any update to this issue? |
Beta Was this translation helpful? Give feedback.
-
@dai-shi I was finally able to reproduce it: Issue happening on React 19: https://codesandbox.io/p/sandbox/loving-cache-djlkzp |
Beta Was this translation helpful? Give feedback.
-
This started happening with React 19 & I have to introduce a delay of 0 (queue macrotask) like so to resolve it:
I will work on a shareable reproduction.
Beta Was this translation helpful? Give feedback.
All reactions