While we werenât watching, over the last two years the web has quickly begun swallowing the desktop environment whole. If youâre an average user, you probably have a few desktop apps that you use daily without even realizing theyâre built using web technology.
The idea of major applications on your desktop, that you use every day, being entirely web-based was pretty far-fetched a few years ago — many people were skeptical that the web could ever supercede desktop apps in both performance, or usability.
Now, in 2017, many web-based desktop apps are fantastic — and weâre using them daily, often without even knowing. Last week, I realized that most of the applications I use every day are web-based, with the exception of a handful of heavier tools like PhotoShop and Audition.
Realized the majority of the apps I use every day are Electron. The web is swallowing the desktop. pic.twitter.com/t27L5U9roo
— Owen âĄď¸ (@ow) March 15, 2017
Electron, which was built originally as a way for GitHub to release its Atom code editor across platforms, only hit the world in 2015 for the first time, but itâs already quickly changing the types of apps we use daily.
Every type of app you use can eventually become an Electron app, and itâs happening fast: Iâve converted to Nylas for email, Slack for chat, Hyper for my terminal, Visual Studio Code for development and a whole lot more. Even outside of Electron, the web is creeping in everywhere: Spotifyâs desktop app is built with JavaScript too.
The reason for this rapid change is simply that an Electron app is easier to maintain and develop, allows you to target multiple platforms and lets your team use modern build pipelines to write once and truly run everywhere. As a result, they tend to be more actively maintained, and see more updates than the competition.
âLook i want native apps to not suck but apple doesnât give a shit, ms barely gives a shit, and app devs absolutely do not give a shitâ
A lot of people highlight that Electron apps tend to use more memory than others, but that claim tends to be overblown, or just simply out-dated. Nylasâ desktop email app uses just 80MB of Memory, while Slack only uses 166MB — developers might loudly complain thatâs too much, but given modern machines tend to have more than 8GB of RAM onboard, what does it matter?
Companies like Slack are addressing that head-on. A post this month said that the company is already addressing memory concerns (most of which happen to outlying users that are signed into many teams) and that itâs entirely resolvable — it just takes smart decisions.
Another popular complaint is that Electron-based apps donât look and feel as good as their native counterparts. That might be true for some, but Nylas Mail looks just as good as Appleâs own default mail client, and Slack blends just like everything else.
The thing is, most users canât even tell theyâre using a âweb appâ anymore. In Electronâs early days, itâs true that they tended to be slower, or stick out like a sore thumb, but now I generally prefer them for how well they feel like a real native app.
Why should a user even give a shit whatâs underneath, as long as they can get their work done? And best of all, updates keep getting delivered, and they basically have no idea.
There are a lot of Electron haters out there, and any time you bring it up on Twitter youâre sure to be eaten alive, but the justifications for not using Electron are dated and just plain wrong: the reality is that people are writing useful software with Electron and actually ship shit.
âCue loads of native devs saying âweb apps suckâ and millions of real users happily not giving a fuck what theyâre written in.â
Best of all, many of these Electron-based apps have actually built a business model! Nylas, which is 100% Electron, is growing an entire platform despite only having an Electron app, which might have been a sin in the past — and people are paying for it!
Nylasâ founder, Michael Grinich says the company took a huge, risky bet on choosing Electron a few years ago — Iâm sure people thought they were crazy — but that itâs paying off.
The biggest benefit of Electron, for me, has been proven through my switch to Windows. The majority of the apps I use and love every day exist on both platforms thanks to the technology, and operate exactly the same all while blending in with the operating system.
Apps are winning! No wait! The browser is winning! 🤔 pic.twitter.com/lpazY5EBXG
— Koen Bok (@koenbok) January 3, 2017
The best part about this transition is end-users basically havenât noticed. Millions of people are happily using Slack every day, and it helps them get their job done.
An example of how a business model can be disrupted by Electron is already underway. Sketchâs design tool that hundreds of thousands of designers use famously only works on a Mac — there are hundreds of people looking for alternatives on Google, and as far as anyone can tell, itâs an intentional omission:
âSketch relies on a lot of technology that is exclusive to OS X and the fact that no other OS provide a clear business model for software development, weâre not considering supporting it.â
Great, but there are thousands of Windows designers out there too… so what do they use? Is there not a paid market for them to use too?
Well, as it turns out, Figma, a new entrant in the market that offers a web-based offering also has an Electron app, and it can directly import Sketch files too.
In my mind, itâs only a matter of time before the tool that works everywhere eventually beats out the tool thatâs restricted to slow releases on a single platform — oh, and Figma literally ships a platform update every other week.
Itâs still early days, but Electron is eating the desktop alive. Thereâs no way to stop it, and developers planning a native app should seriously ask themselves: should I learn to write HTML instead, and use Electron so I can target users on any platform?
Itâs clear that the answer is yes, and that the true native app is a dying breed.