Giter Site home page Giter Site logo

Comments (14)

gabrielmbmb avatar gabrielmbmb commented on September 5, 2024 1

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.

gabrielmbmb avatar gabrielmbmb commented on September 5, 2024

Hi Andrey,

thank you for reporting the issue! I will check this ASAP.

from vuex-multi-tab-state.

ABilenduke avatar ABilenduke commented on September 5, 2024

I still get this error a lot

from vuex-multi-tab-state.

gabrielmbmb avatar gabrielmbmb commented on September 5, 2024

@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.

andrey-hohlov avatar andrey-hohlov commented on September 5, 2024

It worked in 1.0.13 but broken in 1.0.14.

I suppose after this commit: 52dfda7

from vuex-multi-tab-state.

gabrielmbmb avatar gabrielmbmb commented on September 5, 2024

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.

gabrielmbmb avatar gabrielmbmb commented on September 5, 2024

@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.

andrey-hohlov avatar andrey-hohlov commented on September 5, 2024

@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.

sdailly avatar sdailly commented on September 5, 2024

I have the same issue & i have rolling back to 1.0.13 too :(

from vuex-multi-tab-state.

ABilenduke avatar ABilenduke commented on September 5, 2024

Add this line to your store index file:

export const strict = false

It worked for me

from vuex-multi-tab-state.

gabrielmbmb avatar gabrielmbmb commented on September 5, 2024

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.

andrey-hohlov avatar andrey-hohlov commented on September 5, 2024

@gabrielmbmb

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.

gabrielmbmb avatar gabrielmbmb commented on September 5, 2024

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.

jonalxh avatar jonalxh commented on September 5, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.