jotaijs / jotai-devtools

A powerful toolkit to enhance your development experience with Jotai
https://jotai.org/docs/tools/devtools
MIT License
134 stars 33 forks source link

MantineThemeProvider.tsx:11 Uncaught Error: @mantine/core: MantineProvider was not found in component tree, make sure you have it in your app #143

Closed npearson72 closed 6 months ago

npearson72 commented 6 months ago

I'm seeing the following error when I click on any atom in Jotai DevTools panel.

Here's a reproducible repo: https://github.com/npearson72/jotai-devtools-test

How it started: Screenshot 2024-05-12 at 11 09 21 AM

How it's going: Screenshot 2024-05-12 at 11 09 33 AM

arjunvegda commented 6 months ago

Thanks for the repro! This is because the repo has a conflict between @mantine/core v6 and v7. Removing these Mantine deps in your repo should fix it.

npearson72 commented 6 months ago

Thanks for the repro! This is because the repo has a conflict between @mantine/core v6 and v7. Removing these Mantine deps in your repo should fix it.

@arjunvegda I included Mantine v6 because that's what I use in my real world project, and we haven't migrated yet to v7 because of how big of a change it it is from v6. I take it by your comment that Jotai DevTools does not support Mantine v6?