Description
electron-redux is a Redux store enhancer for Electron apps. Electron runs the main process and renderer processes separately, and the only built-in way they talk is through IPC messages, which makes sharing Redux state awkward. This library lets you register your Redux stores in the main and renderer processes, then dispatches actions across processes and keeps the stores loosely in sync. For a simple setup without other enhancers or middleware, you add its state sync enhancer to createStore. When you also use enhancers or middleware that dispatch actions, such as redux-saga or redux-observable, the README asks you to use a composeWithStateSync function, which wraps your other enhancers in the same way Redux's compose does. Actions must follow the Flux Standard Action format, which includes a type field. The documentation at electron-redux.js.org covers getting started, recipes and the API reference. The library suits developers who build Electron desktop apps with Redux, and the project is on GitHub under the klarna account.…
Highlights
- Shares Redux state across Electron processes
- Dispatch actions from main or renderer
- Redux store enhancer setup
- Works with redux-saga and redux-observable
- Docs with recipes and API reference
Ratings & Reviews
No ratings yet
Be the first to rate Electron Redux.
People also visit
Electron Redux FAQ
What is electron-redux?
A Redux store enhancer that keeps Redux stores in sync between Electron's main and renderer processes.
How do I install it?
The README shows the install command, and the full installation guide is on electron-redux.js.org.
Does it work with redux-saga?
Yes. The README says to use composeWithStateSync when you have other enhancers or middleware, such as redux-saga or redux-observable.
What do actions need to look like?
They must follow the Flux Standard Action format, which includes a type field.
Where are the docs?
At electron-redux.js.org, with getting started guides, recipes and an API reference.
What are the best Electron Redux alternatives?
Popular alternatives to Electron Redux include electron-trpc, 302 kea and Electron Toolkit. See all Electron Redux alternatives





