All atoms are displayed twice in redux devtools #1795
Unanswered
PrettyCoffee
asked this question in
Q&A
Replies: 1 comment 5 replies
-
Does it only happen with StrictMode? |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi!
Soo, I am not sure if I am doing something wrong or if that's a bug so I wanted to have it confirmed first before creating a bug ticket.
When using
useAtomDevtools
on multiple atoms inreact 18
withvite
, all atoms are displayed twice in theredux devtools
dropdown:Not sure why this is, I think I followed the instructions of the docs.
I created a demo in codesandbox to show off the bug:
https://codesandbox.io/p/sandbox/angry-brahmagupta-kpf2zz?file=%2Fsrc%2FDebugAtoms.tsx
In the demo even worse: Changes are not being detected. I don't have this problem in my local project, so no idea what happened there.
Can someone enlighten me? :)
Beta Was this translation helpful? Give feedback.
All reactions