Skip to content

Latest commit

 

History

History
24 lines (13 loc) · 1.11 KB

README.md

File metadata and controls

24 lines (13 loc) · 1.11 KB

Desktop Applications with Electron

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

Start

First example, just a minimal quickstart to show how can you get started with Electron

Image Viewer

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

stats.js is an open-source utility, helpful for profiling: https://github.com/mrdoob/stats.js/