Cross-platform Desktop Application Development: Electron, Node, NW.js, and React
by Dmitry Sheiko
Static prototype
At this point, we are quite ready to start with the chat application. Yet, it will be easier to grasp if we create first a static version and then extend it with the intended functionality. Nowadays, developers often do not write CSS from scratch, but reuse components of HTML/CSS frameworks such as Bootstrap. There is a framework dedicated for the Electron application--Photonkit (http://photonkit.com). This framework provides us with building blocks such as layouts, panes, sidebar, lists, buttons, forms, table, and buttons. A UI constructed of these blocks looks in the style of macOS, automatically adapted for Electron and responsive to its viewport size. Ideally, I would go with ready PhotonKit components built with React ...
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