CHAPTER #2

5 Reasons Why You Should Build Electron Desktop App

Building desktop apps with web technologies, low barrier to entry, and ease with finding developers are only a few Electron advantages. Discover more of them below.

Last Update

08 Jan, 2021

Reading Time

3 Min

Authors
Marcin DrykaCTO
Github LinkLinkedin Link
Bianka PluszczewskaEditor
Linkedin Link

Introduction

The look and feel of desktop applications have advanced over the past years, with more and more applications resembling modern websites than ever before.

The technology behind this latest evolutionary step of desktop applications is called Electron. It’s easy to use, fast, and facilitates the development process.

There are at least 5 reasons why you should build an Electron desktop app before your competitors do. So let’s reveal them.

Electron in a nutshell

Electron, also called Electron JS, is a software development framework for building native applications (applications that run natively on Windows, macOS, and Linux) using web technologies, such as JavaScript, HTML, and CSS. Electron itself is also open source, and it’s maintained by GitHub and an active community of contributors from around the world.

Key take-away: With Electron, we build desktop apps using web technologies – JavaScript, HTML, CSS.

The first version of Electron was released in 2013 as Atom Shell, and the framework has since then been embraced by a large number of desktop applications, with many of them being open source.

Here are 5 popular Electron apps that you’ve most likely heard about at some point in time:

  • Atom: a free and open-source text and source code editor that makes collaborating on code easy.
  • Discord: a VoIP application and digital distribution platform designed for video gaming communities.
  • Slack: a cloud-based set of proprietary team collaboration tools and services that brings team communication and collaboration into one place.
  • Trello: a web-based list-making application for organizing your work and life.
  • Etcher: a free and open-source utility used for burning image files such as .iso and .img files.

There’s a number of reasons why developers flock to Electron, and why the demand for them has been growing steadily in recent years.

Let’s take a closer look at 5 things developers love about Electron to explain why it makes so much sense to use it for your next desktop app.

Why should you build an Electron desktop app?

#1 Low barrier to entry

Professional developers are in extremely high demand these days, and it’s estimated that the number of unfulfilled software development positions could exceed one million by 2020. That’s especially bad news for anyone who is looking for quality software developers, especially if they are also on a tight budget.

Because Electron uses JavaScript, HTML, CSS, and other web technologies, virtually all developers with web development skills can get started with it without much effort. And since web developers typically charge less than software engineers, they are the perfect answer to the talent shortage for small and medium-sized businesses.

Key take-away: Web developers can get started with Electron easily, which solves the problem with talent shortage for small companies.

#2 Increased development speed

Back in the day, it took a very long time to develop even a relatively small desktop application because software developers had to write all of its parts from scratch, using low-level programming languages that provided minimal handholding.

Instead of using low-level programming languages like C or C++, Electron uses JavaScript, one of the easiest and most effective programming languages in use today.

Because JavaScript code is interpreted line by line, developers can effortlessly debug and optimize it, which allows them to ship applications much faster than they could otherwise.

#3 Automatic updates and convenient installers

Mobile devices have changed what we expect applications to do. Instead of downloading updates from a website, users anticipate applications to update automatically as soon as the latest version is released, preferably in the background. They also expect applications to be shipped as convenient installers that bundle all application components together.

Electron desktop apps can automatically update themselves thanks to the autoUpdater component.

Creating convenient installers for Electron desktop apps takes very little time thanks to electron-builder, a complete solution to package and build a ready for distribution Electron app for macOS, Windows, and Linux.

Key take-away: Every Electron desktop app updates automatically, as soon as the new version is released.

#4 Cross-platform support

When you write an Electron application, you can be sure that it will run on all major desktop operating systems, including Windows, macOS, and Linux.

Many different OS integrations are supported right out of the box, such as native OS menu bars, notifications tray applets, media keys, and others, which saves developers a considerable amount of time.

The reason Electron desktop applications run flawlessly across different operating systems is simple: they are essentially instances of the Chromium web browser, Google’s open-source web browser project. That’s also why they tend to consume far more memory than desktop applications written in other programming languages.

#5 Large community of developers and users

Electron is a massive open source project whose reach spans the globe, and there are thriving Electron communities of developers and users everywhere, producing an abundance of educational resources and development tools.

Perhaps because Electron has such a low barrier to entry, Electron communities tend to be extremely welcoming to newcomers, and they never punish their members for asking questions and being curious.

Key take-away: Electron community is very welcoming and helpful. They produce lots of resources and provide support eagerly.

Conclusion

Electron is a progressive software development framework that has given us a number of prominent desktop applications, including Atom, Discord, Slack, Trello, and Etcher, just to name a few.

The reasons why professional Electron JS developers enjoy using it include its low barrier to entry, fast speed of development, automatic updates and convenient installers, cross-platform support, and its large community of developers and users.

Keep me updated

We'll be adding new in-depth content to this handbook very soon. Get it straight to your inbox.