Comments (14)
As you pointed out, the function mergeWith was mutating the store state directly. This is fixed now and v1.0.13 has been released! Thank you again for reporting the issue!
from vuex-multi-tab-state.
Hi Andrey,
thank you for reporting the issue! I will check this ASAP.
from vuex-multi-tab-state.
I still get this error a lot
from vuex-multi-tab-state.
@ABilenduke Hi! Could you tell me which version of vuex-multi-tab-state are you using? Also, it will be great the traceback of the error and the code block in which you are using and configuring the state.
from vuex-multi-tab-state.
It worked in 1.0.13
but broken in 1.0.14
.
I suppose after this commit: 52dfda7
from vuex-multi-tab-state.
Hey, @andrey-hohlov thanks for reporting the issue again. Yeah, maybe something is wrong again after that commit. I'll check it ASAP.
from vuex-multi-tab-state.
@andrey-hohlov Hi again, could you update the plugin version to the latest (v1.0.16) and retest if the error still occurs? The v1.0.14 is deprecated because it contained several bugs.
from vuex-multi-tab-state.
@gabrielmbmb Hi!
I started with v1.0.16 and I was rolling back until the bug disappeared in v1.0.13
from vuex-multi-tab-state.
I have the same issue & i have rolling back to 1.0.13 too :(
from vuex-multi-tab-state.
Add this line to your store index file:
export const strict = false
It worked for me
from vuex-multi-tab-state.
Hi @andrey-hohlov and @sdailly, could you provide me some code snippets that you consider relevant to this problem? It will help me to find a solution to this as I'm not able to reproduce it with my tests!
from vuex-multi-tab-state.
https://github.com/andrey-hohlov/vuex-multi-tab-state-mutation-error
(fill the field, reload the page and look at the console)
The error happens only when the nested property used in statesPaths
.
user
- (property in the root state or sub-module) - works
user.name
- error
from vuex-multi-tab-state.
Hi @andrey-hohlov, I just took a look at your example. I was able to see the error and it is related to https://vuex.vuejs.org/guide/strict.html. In production, this error won't show up but I understand that in develop it could be annoying. I'll try to find a fix for this.
from vuex-multi-tab-state.
Any update? I'm facing the same issue with Nuxt and vuex-multi-tab-state version ^1.0.16.
from vuex-multi-tab-state.
Related Issues (20)
- State is fully observed and deeply cloned instead of statePaths only HOT 1
- Not Compatible with Vite
- Objects are not updating HOT 2
- Incompatibility with nuxt-vuex-localstorage HOT 3
- Vue 3 / Vuex 4 support? HOT 7
- Unable to clear localStorage key programmatically HOT 6
- How to set settings in nuxt HOT 5
- Support store structure changing HOT 8
- Add compression possibility to save localStorage space HOT 4
- Document Vue 3 / vuex 4 compatibility HOT 2
- vuex-multi-tab-state and vuex-persistedstate HOT 10
- New values not set on next visit in the same browser HOT 2
- How to use with nuxt? HOT 4
- Share state between CERTAIN tabs, but not ALL tabs HOT 1
- Two vue projects sharing the same state and missing states HOT 2
- How to update state between tabs with condition?
- Use with encrypted localStorage HOT 2
- how to secure localstorage vuex-multi-tab using SecureLS HOT 1
- Misleading documentation of onBeforeReplace and onBeforeSave
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vuex-multi-tab-state.