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

Store getters do not re-evaluate on dynamic module registration #1480

SebastianS90 opened this Issue Jan 5, 2019 · 2 comments


None yet
2 participants
Copy link

SebastianS90 commented Jan 5, 2019



Reproduction link

Steps to reproduce

  • Open the CodeSandbox
  • Click "Register Module"

What is expected?

All four values should switch to true

What is actually happening?

Only the values based on watchers from the component switch to true


This comment has been minimized.

Copy link

mozzkay commented Jan 7, 2019

The getters will be exposed on the store.getters object.
So you should use $store.getters.hasModule.


This comment has been minimized.

Copy link

SebastianS90 commented Jan 7, 2019

My bad, thanks for the hint!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment