Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs error or missed? #161

Closed
bigbossx opened this issue Sep 2, 2024 · 2 comments · Fixed by #162
Closed

docs error or missed? #161

bigbossx opened this issue Sep 2, 2024 · 2 comments · Fixed by #162

Comments

@bigbossx
Copy link
Contributor

bigbossx commented Sep 2, 2024

image image

Just wonder if jotai v1 is really supported or the README is legacy.

In fact, starting from jotai-devtools v0.2, useAtomsSnapshot can no longer get the correct value with jotai v1.13. snapshot is empty.

If I use jotai 1.13 + jotai-devtool 0.10.1 (latest), it will also throw an error that useStore is not exported in jotai when vite compile.

So I think that since 0.1.0, devtool does not support jotai v1 at all.

please correct me if I wrong. I want to use DevTool in jotai v1. but nothing can work with jotai v1 actually

@arjunvegda
Copy link
Member

Thanks for reporting this @bigbossx! You're right, the docs are outdated, we dropped support for Jotai V1 recently.

The minimum required version for Jotai now is 2.1.0. Would you like to open up a PR to update the docs?

@bigbossx
Copy link
Contributor Author

bigbossx commented Sep 3, 2024

OK, pr WIP~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants