Strict mode keeps old watchers and hinders performance
Author: AlexandrosDa007Created Jan 17, 2025Updated Jan 17, 2025
Version
4.0.2
Reproduction link
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
Source: vuejs/vuex