Skip to content

Strict mode keeps old watchers and hinders performance #2260

Open
@AlexandrosDa007

Description

@AlexandrosDa007

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions