Skip to content

Instantly share code, notes, and snippets.

@fasterthanlime
Created July 19, 2017 12:44
Show Gist options
  • Save fasterthanlime/5f574af6d4d5c89e73d48f131654c0fb to your computer and use it in GitHub Desktop.
Save fasterthanlime/5f574af6d4d5c89e73d48f131654c0fb to your computer and use it in GitHub Desktop.
  • first-class transpiler support (pick your syntax sugar of choice, have it be sourcemapped easily in debuggers/stack traces/etc.)
  • easy & accurate code coverage tools (with sourcemaps too)
  • integrated console, debugger, memory, CPU profiler, network inspector (a key shortcut away, even in the production version of the app)
  • remote debugging too (renderer and main process - with the UI showing remotely in a way you can interact with)
  • great support for integration tests (aka webdriver - you basically send mouse/keyboard events and inspect the DOM to make sure what you expect to happen on screen happens)
  • script language by default, but 1) easy to write native modules as long as you can make a dynlib out of it, 2) you can make heap snapshots of your scripts to load them faster, see https://github.com/atom/electron-link
  • so many batteries included (fs, networking, video, audio, controllers, printing, yada yada) in a reasonable runtime size, considering.
  • hot module reloading: save file in your text editor, ui components rerefresh with the new code - you can hot-reload non-ui stuff too if you try hard enough
  • just so many libraries one npm install away (you gotta know how to sift through the bs, but that's everywhere)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment