Giter Site home page Giter Site logo

Comments (6)

Stormtv avatar Stormtv commented on September 18, 2024 1

Good points. I'll look into it it might clean my code up a little bit also.

from vuex-electron.

Stormtv avatar Stormtv commented on September 18, 2024

The whitelist and blacklist options should allow you to mirror this functionality if I am not mistaken.

createPersistedState({
  blacklist: ['Onboarding/setSeed']
})

from vuex-electron.

achtan avatar achtan commented on September 18, 2024

currently i have 11 store modules with avg 6 actions... so its 66 actions and still growing :)
... so maintain so many actions in whitelist array is a byt difficult
with 'paths' support i can only specify modules, and thats it :)

createPersistedState({
  paths: ['System','CN', 'DB', 'CL', 'DocumentsTree', 'Columns', 'DocumentActions', 'QuickSearches', 'QueryHistory', 'QueryFavorites', 'Settings', 'Tabs']
})

from vuex-electron.

akodkod avatar akodkod commented on September 18, 2024

@achtan, unfortunately, I don't have enough time to implement it by myself at the moment. But, please, feel free to open a pull-request with such functionality, I would be happy to merge it.

The best place to start: https://github.com/vue-electron/vuex-electron/blob/master/src/persisted-state.js#L91

Thank you!

from vuex-electron.

zciendor avatar zciendor commented on September 18, 2024

The whitelist and blacklist options should allow you to mirror this functionality if I am not mistaken.

No it doesn't seem to work that way. See issue #19 for details.

from vuex-electron.

akodkod avatar akodkod commented on September 18, 2024

#44

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.