aslilac / electron-redux

Make sure all your stores are on the same page
MIT License
9 stars 3 forks source link


electron-redux

If you're here reading this, you're probably familiar with the usual Redux dataflow. You create an action, you dispatch it through your reducer, and your reducer updates your store based on the action.

a diagram detailing how data flows when using electron-redux

electron-redux taps into this flow, and allows you to dispatch your actions in your main process and your renderer processes simultaneously. You just need to dispatch each action once to whichever store instance is convenient, and every store will be updated.

Documentation

Contributors

This package is based on prior work by: