Skip to content
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

watchers and subscribers in nuxt #61

Open
jankulma opened this issue Jan 10, 2020 · 0 comments
Open

watchers and subscribers in nuxt #61

jankulma opened this issue Jan 10, 2020 · 0 comments

Comments

@jankulma
Copy link

Hi,

In nuxt.js subscribers etc. will work only if you prepend related property with static, like static $subscribe = { ... }, otherwise createLocalSubscriber in proxy.ts will return on if( subscriptionMap === undefined ) return;. Not sure if this is related to nuxt only.

Another thing is that state is not available in subscribers and actionSubscribers, though normally Vuex passes it as second parameter. Any reason its not implemented here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant