O'Reilly logo

Cross-platform Desktop Application Development: Electron, Node, NW.js, and React by Dmitry Sheiko

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Connecting to the store

We have action creators and we have Reducers and, now, we are about to make them available across the application. As you can remember from Chapter 5, Creating a Screen Capturer with NW.js, React, and Redux: Planning, Design, and Development, the module redux provides the function createStore, which takes in combined reducers to produce the store. The module react-redux exports the provider higher-order component that accepts the store with the props and makes it available through connect across the inner component tree. The function createStore accepts middleware that is combined with the compose function of redux. As we already discussed in this application, we need asynchronous actions. Here, we can use the redux-thunk ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required