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

ensure singleton cleans up previous instances when updated #993

Merged
merged 1 commit into from
Oct 28, 2021

Conversation

frankwallis
Copy link
Contributor

@frankwallis frankwallis commented Oct 28, 2021

This is a fix for an issue where the singleton's target instances get updated. The current behaviour causes their setProps method to get repeatedly wrapped. In my scenario with 1000 target instances it was causing the browser to lock up for several seconds.

Thanks for all your work!

@atomiks atomiks merged commit 4645e0b into atomiks:master Oct 28, 2021
@atomiks
Copy link
Owner

atomiks commented Oct 28, 2021

Thanks!

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