-
-
Notifications
You must be signed in to change notification settings - Fork 22
Avoid multiple component registrations #5
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
Comments
3 tasks
Accidentally commented on the wrong issue before, so I'm reposting here Caching the register function with |
Archmonger
added a commit
to Archmonger/reactpy-django
that referenced
this issue
Sep 22, 2021
9 tasks
9 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Since one can use the same component more than once we should avoid calling
_register_component
more than once if it's already been done. A simple containment check inIDOM_REGISTERED_COMPONENTS
should work here.The text was updated successfully, but these errors were encountered: