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

Summary

We started this chapter by introducing the Redux middleware. As an example, we used redux-diff-logger to monitor mutations in the store. We also plugged in a collection of tools (redux-devtools), enabling DevTools-like panels on a page for inspecting the store and traveling back in time using the cancelling actions. Closing with Redux, we examined unit-testing of action creators and reducers.

In this chapter, we created the Capturer service responsible for taking screenshots and recording screencasts. We achieved capturing of desktop video input in MediaStream by using webkitGetUserMedia API. With the Canvas API, we managed to take a still frame from the video stream and convert it into an image. For video recording, we went with ...

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