Giter Site home page Giter Site logo

Comments (5)

gabrielstuff avatar gabrielstuff commented on August 16, 2024

Hello,
Yes, indeed it cause some incompatibility with plugin like this one for instance: https://github.com/spacebro/spacebro-client

Or maybe do you have a proposal @MrEmelianenko ?

from vuex-electron.

gabrielstuff avatar gabrielstuff commented on August 16, 2024

Hello @MrEmelianenko any thought about this issue ? Why not a warning and let the default behaviour happen.

from vuex-electron.

akodkod avatar akodkod commented on August 16, 2024

#44

from vuex-electron.

ferm10n avatar ferm10n commented on August 16, 2024

Based on my understanding of vuex-electron, the single source of truth should be based in the main node process. This is accomplished right now by having the renderer dispatch actions, and the main process performing the commits...

I think mutations could be triggered on the renderer too, using ipcRenderer.sendSync but that would obviously be blocking. IMO that's a fair trade for not dispatching actions which are async by design. I think it's actually the only way to consistently maintain keep the main state and renderer state(s) in sync.

from vuex-electron.

ferm10n avatar ferm10n commented on August 16, 2024

@gabrielstuff @davestewart what do you think about that option? I'm working on a fork of this project and will be trying it out.

(forgot to tag in original comment, not sure if github will notify if I add it in an edit)

from vuex-electron.

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.