Dynamic modules duplicates (registered multiple times)
See original GitHub issueHi,
I’m using dynamic modules in a very standard way and sometimes i get the following error:
[vuex] duplicate getter key: namespace/getter
Which means that registerModule
is being called even though the module has already been registered.
I wanted to implement what is suggested in this issue but I believe this has to be done inside of vuex-module-decorators since it handles the registering automatically.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:12
- Comments:11
Top Results From Across the Web
What Happens When a Module Is Imported Twice?
A JavaScript module is evaluated just once. When imported multiple times from the same path, the same module instance is returned.
Read more >Duplicate entries in dynamic feature module when using ...
Based on the last clue, it seems a bug of Android Gradle Plugin. It happens in 7.3.0 and 7.3.1. It doesn't happen in...
Read more >Entity Query joins can cause duplicates in content views.
I have a node that belongs to 3 groups. If I access the list of nodes of any of these groups, this node...
Read more >Jdbi 3 Developer Guide
Jdbi provides straightforward mapping between SQL and data accessible through a JDBC driver. You bring your own SQL, and Jdbi executes it. Jdbi ......
Read more >Modules | Vuex
Register the same module multiple times in the same store. If we use a plain object to declare the state of the module,...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Any elaboration on this? Still having the same problem, makes hot reloading a rather cumbersome, even annoying feature…
Would this be a difficult fix?