Replies: 4 comments
-
Thanks for reaching out! Great suggestions. Is style overrides the only use case for having the panel to be exposed? or are there other use cases? We provide those custom classes (that you used in I like what React Query did with the "floating mode" and embedded mode. I'll look into it.
Great suggestion! We're not planning to release breaking changes anytime soon, but I've made note of it. @dai-shi - any thoughts here? |
Beta Was this translation helpful? Give feedback.
-
I don't think import { Provider as JotaiProvider } from 'jotai';
import { Provider as ReduxProvider } from 'react-redux'; |
Beta Was this translation helpful? Give feedback.
-
Primarily so, yes. Persistent class names like In my imagination, Speaking of |
Beta Was this translation helpful? Give feedback.
-
Great, thanks for the info, and sorry for the delay! Given that there is a workaround, I’d rank this as a low priority for now and consider it as a new feature request (please let me know if you think otherwise). We’re investing time and effort in getting some of the core features out that’ll enhance the debugging experience for the users. We'll get to this once major features are out. I'll move this to a discussion thread to continue our discussion there. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
👋 folks!
In addition to rendering a toggle button in a corner, some DevTools provide an additional export for the embedded mode. For example: https://tanstack.com/query/v4/docs/react/devtools#embedded-mode
It would be nice if this was the case for
jotai-devtools
too:+ import { DevToolsPanel } from 'jotai-devtools';
In the meantime, here is my workaround:
Side note: it’d be nice to rename
DevTools
intoJotaiDevTools
in module exports. Otherwise, if a component renders several DevTool panels it is necessary to useas
to avoid confusion. The old export can be left as is or marked as deprecated.The same could apply to the new panel export, if it is implemented:
+ import { JotaiDevToolsPanel } from 'jotai-devtools';
Cheers! 🙌
Beta Was this translation helpful? Give feedback.
All reactions