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

Strict mode keeps old watchers and hinders performance #2260

Open
AlexandrosDa007 opened this issue Jan 17, 2025 · 0 comments
Open

Strict mode keeps old watchers and hinders performance #2260

AlexandrosDa007 opened this issue Jan 17, 2025 · 0 comments

Comments

@AlexandrosDa007
Copy link

Version

4.0.2

Reproduction link

https://playcode.io/2226769

Steps to reproduce

Change STRICT_MODE to true

What is expected?

Some performance drop thanks to strict mode

What is actually happening?

The performance drop is much bigger, because 'enableStringMode' creates watchers and never stops them


Dynamically registering modules makes things worse since it resets the store and creates even more watchers

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

No branches or pull requests

1 participant