-
Notifications
You must be signed in to change notification settings - Fork 18
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
A molecule that doesn't depend on anything was created twice (React strict mode) #58
Comments
@disjukr this is related to React strict mode. If you remove There are some docs specifically on this behaviour: https://www.bunshi.org/concepts/lifecycle/#react-strict-mode There are a couple possibilities here:
If you want a workaround, you can use your |
This could possibly be related to #64 |
Hi! I simplified code to reproduce this bug StackBlitz
|
According to the documentation, a molecule that does not depend on any other molecule or scope should be created only once.
However, I found that the molecule created twice in the code below. (StackBlitz)
The text was updated successfully, but these errors were encountered: