vuex-shared-mutations icon indicating copy to clipboard operation
vuex-shared-mutations copied to clipboard

Share vuex mutations between tabs/windows

Results 16 vuex-shared-mutations issues
Sort by recently updated
recently updated
newest added

Fix for Issue [33](https://github.com/xanf/vuex-shared-mutations/issues/33) In the default strategy, use `BroadcastChannel` first and fallback to `localStorage`. Also fixes `karma.conf` [Headless Chrome](https://github.com/karma-runner/karma-chrome-launcher#usage) usage.

I ran the basic example on MAC safari and increment, decrement mutations are not getting shared.

Tested using localStorage strategy. When committing a mutation with a payload that contains a date object, the date is converted to a string in the receiving end. This is probably...

The readme states that LocalStorageStrategy is the fallback however the code does not reflect this.

the docs say that the strategy will [default to Broadcast Channel and downgrade to localStorage](https://github.com/xanf/vuex-shared-mutations/blob/93b9709154fe67ff791a1d083c3cfa8f554d2c0e/README.md#how-it-works) in case of necessity. However the implementation does the opposite. it [defaults to localStorage and...

strateRy https://github.com/xanf/vuex-shared-mutations/blob/32bca6b740940cfdd24b80ed01ebfeae9294dfc9/src/vuexSharedMutations.js#L6

I presume you can do something similar to [vuex-persistedstate#nuxtjs](https://github.com/robinvdvleuten/vuex-persistedstate#nuxtjs], but I haven't been able to pull it off.

https://github.com/xanf/vuex-shared-mutations/blob/32bca6b740940cfdd24b80ed01ebfeae9294dfc9/src/vuexSharedMutations.js#L6 There seems to be a typo in 'LocalStorageStrategy' (LocalStorageStrateRy).

Hi there! Thanks for this helpful package. I thought it might help to have an example showing how to set up shared mutations using a store module. What do you...