Removing emotion as peer dependency #68
-
Emotion was added as peer dependency on 0.40 (pmndrs/jotai#1856). It was mentioned that at some point jota-devtools wants to move to a native CSS solution. I know that doing that can take a while. Any workaround in the meantime for apps that use other styling solutions and don't want to install emotion just for this package?
Originally posted by @nicobatalla in pmndrs/jotai#1856 (comment) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Mantine's V7 will be adopting a native CSS solution. We'll bring it to Jotai-DevTools as soon as it's released. What's the issue are you running into with I'm happy to provide workarounds if you're using redux devtools and don't need |
Beta Was this translation helpful? Give feedback.
Ahh! If you're not using
<DevTools/>
then you don't need@emotion/react
.Could you try importing
useAtomsDevtools
fromjotai-devtools/utils
like so? and see if that fixes it?