These are the examples presented at Viana Tech Meetups: https://www.meetup.com/VianaTechMeetups/events/254324177/
Electron is the technology used to build popular cross-platform desktop applications such as Atom, Slack, Visual Studio Code and Skype. However it suffers from a bad reputation with the community: memory and performance issues, non-native look and feel.
This presentation aims to demystify some of this bad reputation. What is Electron, when to use it, some code samples to get you started and how can we make high performance applications with it.
Speaking Deck: https://speakerdeck.com/jportela/desktop-applications-with-electron
First example, just a minimal quickstart to show how can you get started with Electron
This simple application displays images from a directory. It showcases several Electron APIs.
Electron APIs: app
, BrowserWindow
, Menu
, dialog
, shell
, protocol
, ipcRenderer
, ipcMain
NodeJS: fs
, path
, util
,
stats.js is an open-source utility, helpful for profiling: https://github.com/mrdoob/stats.js/