We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hey,
I'm trying to use this plugin in a chrome extension with a simple store:
import Vue from 'vue' import Vuex from 'vuex' import VuexWebExtensions from 'vuex-webextensions'; Vue.use(Vuex) const SET_IS_ENABLED = 'SET_IS_ENABLED' export default new Vuex.Store({ state: { isEnabled: false, }, mutations: { [SET_IS_ENABLED] (state, newV) { console.log('SET_IS_ENABLED with:', newV) state.isEnabled = newV } }, actions: { updateEnabledState ({ commit }, newV) { console.log('updateEnabledState with: ', newV) commit(SET_IS_ENABLED, newV) } }, getters: { isEnabled: (state) => state.isEnabled }, modules: { }, plugins: [VuexWebExtensions()] })
When calling updateEnabledState I see an infinite loop: https://i.imgur.com/DugX402.png
Using: [email protected] [email protected] [email protected]
The text was updated successfully, but these errors were encountered:
Is this related to the syncActions? when setting to false - looks like its working?
Sorry, something went wrong.
Recently I found this bug on the new Vuex-v4 branch, I gona investigate it and notice you here when it get fixed on npm
No branches or pull requests
Hey,
I'm trying to use this plugin in a chrome extension with a simple store:
When calling updateEnabledState I see an infinite loop:
https://i.imgur.com/DugX402.png
Using:
[email protected]
[email protected]
[email protected]
The text was updated successfully, but these errors were encountered: