samiskin / redux-electron-store

⎋ A redux store enhancer that allows automatic synchronization between electron processes
MIT License
375 stars 32 forks source link

Not sure how to use it #40

Closed demian85 closed 7 years ago

demian85 commented 7 years ago

I have a few questions:

Thanks.

samiskin commented 7 years ago

Hi, thanks for submitting this issue, I've updated the docs to address a couple of your points so that this hopefully doesn't happen to others.

demian85 commented 7 years ago

Ok great, but unfortunately, it seems that I'm having issues regarding references to objects created in the renderer process and accessing them from the main process. Not sure how to solve this issue, for example, I have a VideoRecorder instance inside an async action module, but that action is also being required by the main process, so dispatching an action that uses that reference fails because it's undefined... Need to deal with magic here :/ Thanks for the clarification though.