In my application, I'm consuming an api and ingesting the response into vuex state. During the ingestion process I'm looping through an array and dynamically registering modules for each element within the array of 10 elements.
In my code i'm simply deregistering some dynamically registered modules in this way:
When the modules get deregistered, I get an error of properties being undefined. It always successfully deregisters the first two instances then fails for the remaining 8. These errors only occur when the vue dev tools are open. This bit of functionality has worked fine for dev tools prior to v5.
What is expected?
Modules deregister and dev tools doesn't cause an error during deregistration process.
Version
5.1.0
Browser and OS info
Chrome / OSX
Steps to reproduce
In my application, I'm consuming an api and ingesting the response into vuex state. During the ingestion process I'm looping through an array and dynamically registering modules for each element within the array of 10 elements.
In my code i'm simply deregistering some dynamically registered modules in this way:
When the modules get deregistered, I get an error of properties being undefined. It always successfully deregisters the first two instances then fails for the remaining 8. These errors only occur when the vue dev tools are open. This bit of functionality has worked fine for dev tools prior to v5.
What is expected?
Modules deregister and dev tools doesn't cause an error during deregistration process.
What is actually happening?
Devtools causes module deregistration to break.