Cross-platform Desktop Application Development: Electron, Node, NW.js, and React
by Dmitry Sheiko
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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access