Features of Electron JS
Electron JS, provide us with lots of system-level APIs, but before starting to build an application, make sure that all functionalities you are scoping in the app are available in electron js.
Electron js gives premium performance when taken care of properly while developing. Electron js provides lots of gain in terms of performance as compared to the native applications as Electron js has lots of features to play with a single code base for all the major platforms. However, lots of people say Electron JS consumes lots of memory because of chromium-based. But I believe that this only happen when we did not develop applications without care.
Here is my favorite part comes, you don’t need to maintain different codes for different platforms, Because we are using a single code base. If you get any bug you can fix it on a single code base, even we can build a bundle for the whole code into the respective package for all mentioned OS at the same time. However, still we need to keep an eye on the OS-level functionalities.
Cost and Time
We can save lots of time and cost while developing the desktop application and achieve good results with Electron JS because of the tech stack we use. And with the electron js, we don’t need to keep different tech stack developers to build applications for different OS.
The drawback of Electron.js
Electron JS is the combination of the Chromium rendering engine and the Node.js runtime, The reason behind the large size bundle file is when we bundle the electron js app, it will load all chromium-based APIs.
The application build with Electorn.js generally doesn’t work when the requirement of all OS is different, like when we need different designs or features for Mac and Windows. In this type of case, Electron.js would be a bad option to choose.