Import order of jotai-devtools
causes atoms to not show up in devtools
#197
Replies: 3 comments
-
i have the same problem, How did you solve it? |
Beta Was this translation helpful? Give feedback.
-
Ensure |
Beta Was this translation helpful? Give feedback.
-
Thank you @BryceMehring! We recently changed how the Jotai store works with DevTools and wanted to make the migration easier for users. This side effect is a result of that change. I'm open to suggestions, but I believe the best solution might be to allow users to pass the result of Since this would be a breaking change, we’ll likely address it in a future version. I don’t have much bandwidth to work on it this quarter, but I’d be happy to collaborate with anyone interested in helping 🙏 . Also let's move this discussion here |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
If
jotai-devtools
is not imported beforecreateStore
is called the atoms will not show up in the devtools. This happens in version0.12.0
, version0.11.0
doesn't have this issue. Is there a way to make this more intuitive?Beta Was this translation helpful? Give feedback.
All reactions