Why should I use Electron?

We need to be very conscious about how we write the code when we are developing web applications because whatever we are writing is supposed to be executed on a user's computer or devices. Users could be using a wide range of browsers from the latest modern Chrome or Firefox to old legacy Internet Explorer. So, we will not have any idea of where the application will be rendered. This will end up in writing code that supports from outdated Internet Explorer to modern browsers, and you will not have the flexibility to use modern features and solutions that are available in modern browsers because of cross browser compatibility.

Suppose you are developing a cross-platform desktop application using QT or Java. In order to run your application users still, need to install the same or higher version of Java or any other SDK and environment setup that you used to develop the application. There will also be operating system requirements in order to install these frameworks.

When we build our application with Electron, we are packaging a particular version of chromium and Node.js along with our application. You will have the freedom to use cutting edge platform features that are supported by chromium and Node.js as you are shipping the same version of chromium and Node.js that you are using for development. Electron always keeps up to date with chromium and node versions. The chromium used inside Electron is always two weeks behind the latest stable chromium version. It typically includes the latest version of the node and v8 engine. Let's look at some other benefits of Electron.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.224.59.145