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've completed our chat application. We started this chapter by programming the actions of the title bar. On the way, we learned how to control application window state in Electron. We looked into the WebSockets technology on the example of simple echo server and the accompanying client. Going deeper, we designed chat services based on WebSockets. We bound client events to the component states. We were introduced to the Jest testing framework and examined a generic approach to unit-testing React components. Besides, we created regression tests for both stateless and stateful components. We packaged our application and built an installer. We fiddled with publishing releases and made the application update whenever a new release is ...

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