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

Avoid using jotai default store #911

Merged
merged 1 commit into from
Dec 9, 2024

Conversation

zeroliu
Copy link
Collaborator

@zeroliu zeroliu commented Dec 9, 2024

"Detected multiple Jotai instances" warning is thrown when the plugin is reloaded. This PR makes setting model create a dedicated module-level store to replace the jotai global default store to avoid the warning.

@logancyang logancyang merged commit 8e403fe into logancyang:master Dec 9, 2024
2 checks passed
@logancyang logancyang mentioned this pull request Dec 9, 2024
@zeroliu zeroliu deleted the zero/jotai-multi-instance branch December 22, 2024 05:09
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 this pull request may close these issues.

2 participants