Cross-platform Desktop Application Development: Electron, Node, NW.js, and React
by Dmitry Sheiko
Summary
Despite the fact that we do not have a functional application yet and just a static prototype, we have come a long way. We talked about the Electron GUI framework. We compared it to NW.js and went through its peculiarities. We made a simplified Electron demo application consisting of a main process script, renderer one, and HTML. We had an introduction into React basics. We focused on components and elements, JSX and virtual DOM, props, and state. We configured webpack to compile our ES.Next-compliant JSX into a JavaScript-acceptable one by Electron. To consolidate our knowledge, we made a small demo React application powered by Electron. What is more, we examined how to enable a DevTools extension (React Developer Tools) in Electron ...
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