samiskin / redux-electron-store

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

Fix ipc loop #4

Closed CharlieHess closed 8 years ago

CharlieHess commented 8 years ago

Because store.dispatch is overridden, we would skip the synchronous check and fall into an ipc loop. In 0.2.6, this actually called super.dispatch, which I've extracted as doDispatch here.