Coder Social home page Coder Social logo

Comments (8)

wandonye avatar wandonye commented on April 29, 2024 2

never mind, this stackoverflow solution is the simplest. I tried electron-redux, but in my case it creates some weird sync problem.

from electron-react-boilerplate.

 avatar commented on April 29, 2024 1

@amilajack Yeah, couldn't see why not!

from electron-react-boilerplate.

jhen0409 avatar jhen0409 commented on April 29, 2024

We can use ipc to do it.
Also, if we done #108, it may become easier. :)

from electron-react-boilerplate.

slightlytyler avatar slightlytyler commented on April 29, 2024

@jhen0409 I am interested in #108 however I would like to see the starter include an example of how to accomplish it without redux-electron-store.

In my app I created a function bindStoreToMenu that is called when the store is configured. Also created a middleware undoRedoMenuState to properly set the enabled boolean for the menu items.

https://github.com/slightlytyler/mocksy/blob/master/app/store/bindStoreToMenu.js
https://github.com/slightlytyler/mocksy/blob/master/app/store/undoRedoMenuState.js

Any feedback on my logic is welcome, I'll gladly contribute what I can if this is something the project would like to include

from electron-react-boilerplate.

amilajack avatar amilajack commented on April 29, 2024

@burkhardr is it possible to do this with electron-redux?

from electron-react-boilerplate.

amilajack avatar amilajack commented on April 29, 2024

Great! Closing this in favor of #968.

from electron-react-boilerplate.

wandonye avatar wandonye commented on April 29, 2024

Can anyone explain a little bit how this is done with electron-redux? Do I need to create a container for MenuBuilder just like other components?

from electron-react-boilerplate.

wandonye avatar wandonye commented on April 29, 2024

ok, looks like #1615 is the answer for me

from electron-react-boilerplate.

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.