Need advice about which tool to choose?Ask the StackShare community!

Electron

10.2K
9.2K
+ 1
140
JavaFX

265
383
+ 1
10
Add tool

Electron vs JavaFX: What are the differences?

Developers describe Electron as "Build cross platform desktop apps with web technologies. Formerly known as Atom Shell, made by GitHub". With Electron, creating a desktop application for your company or idea is easy. Initially developed for GitHub's Atom editor, Electron has since been used to create applications by companies like Microsoft, Facebook, Slack, and Docker. The Electron framework lets you write cross-platform desktop applications using JavaScript, HTML and CSS. It is based on io.js and Chromium and is used in the Atom editor. On the other hand, JavaFX is detailed as "A Java library for building Rich Internet Applications". It is a set of graphics and media packages that enables developers to design, create, test, debug, and deploy rich client applications that operate consistently across diverse platforms.

Electron and JavaFX belong to "Cross-Platform Desktop Development" category of the tech stack.

Electron is an open source tool with 75.9K GitHub stars and 9.94K GitHub forks. Here's a link to Electron's open source repository on GitHub.

According to the StackShare community, Electron has a broader approval, being mentioned in 291 company stacks & 1933 developers stacks; compared to JavaFX, which is listed in 6 company stacks and 18 developer stacks.

Get Advice from developers at your company using StackShare Enterprise. Sign up for StackShare Enterprise.
Learn More
Pros of Electron
Pros of JavaFX
  • 66
    Easy to make rich cross platform desktop applications
  • 51
    Open source
  • 13
    Great looking apps such as Slack and Visual Studio Code
  • 7
    Because it's cross platform
  • 3
    Use Node.js in the Main Process
  • 10
    Light

Sign up to add or upvote prosMake informed product decisions

Cons of Electron
Cons of JavaFX
  • 18
    Uses a lot of memory
  • 8
    User experience never as good as a native app
  • 4
    No proper documentation
  • 4
    Does not native
  • 1
    Each app needs to install a new chromium + nodejs
  • 1
    Wrong reference for dom inspection
  • 1
    Community support less than qt
  • 1
    Complicated

Sign up to add or upvote consMake informed product decisions

What is Electron?

With Electron, creating a desktop application for your company or idea is easy. Initially developed for GitHub's Atom editor, Electron has since been used to create applications by companies like Microsoft, Facebook, Slack, and Docker. The Electron framework lets you write cross-platform desktop applications using JavaScript, HTML and CSS. It is based on io.js and Chromium and is used in the Atom editor.

What is JavaFX?

It is a set of graphics and media packages that enables developers to design, create, test, debug, and deploy rich client applications that operate consistently across diverse platforms.

Need advice about which tool to choose?Ask the StackShare community!

What companies use Electron?
What companies use JavaFX?
See which teams inside your own company are using Electron or JavaFX.
Sign up for StackShare EnterpriseLearn More

Sign up to get full access to all the companiesMake informed product decisions

What tools integrate with Electron?
What tools integrate with JavaFX?

Sign up to get full access to all the tool integrationsMake informed product decisions

Blog Posts

What are some alternatives to Electron and JavaFX?
Photon
The fastest way to build beautiful Electron apps using simple HTML and CSS. Underneath it all is Electron. Originally built for GitHub's Atom text editor, Electron is the easiest way to build cross-platform desktop applications.
React Native Desktop
Build OS X desktop apps using React Native.
React Native
React Native enables you to build world-class application experiences on native platforms using a consistent developer experience based on JavaScript and React. The focus of React Native is on developer efficiency across all the platforms you care about - learn once, write anywhere. Facebook uses React Native in multiple production apps and will continue investing in React Native.
React
Lots of people use React as the V in MVC. Since React makes no assumptions about the rest of your technology stack, it's easy to try it out on a small feature in an existing project.
Qt5
It is a full development framework with tools designed to streamline the creation of applications and user interfaces for desktop, embedded, and mobile platforms.
See all alternatives