5
10 Comments

Thoughts on Electron to build new app?

Looking to build a cross functional app that works on PC & MAC. Is Electron a good option for this still?

on September 25, 2019
  1. 2

    I think Electron.js is a good option.

    What I want is :

    • Cross-platform (macOS+Windows)
    • Easy to write (so it's fast to build)
    • Great ecosystem (A lot of third party code)

    Electron check all the box,

    I just built a new Electron.js app call "Tern-Subtitle File Translator"
    https://tern.1c7.me/

  2. 1

    I am using it for Mockoon (https://mockoon.com) and I find it very good and not that heavy (memory / CPU). Also the ecosystem is quite big with a lots of libraries to build different binaries (Electron Builder), add development tools, etc You can use whatever framework you want in it as it is just some sort of wrapper.
    Also it's under very active development, even more active then before it seems, and community is quite big.

    1. 1

      Cool stuff by the way. I see your solution works on all three platforms which the main selling point for Electron I guess. :-)

      1. 1

        Thank you :) Yeah being able to generate binaries for each platforms (and also different versions for each platforms, like deb, rpm, appimage, dmg, exe 32/64, etc) is rad.

    2. 1

      Thank you so much for your insights!

  3. 1

    I've personally enjoyed developing on Electron. I beleive Slack, Discord, and VSCode all run on electron which is enough social proof for me!

    1. 1

      Thank you for your insights!

  4. 1

    I made few cross-platform apps using Java, .NET and Electron. (My app Tealpod Image resizer www.tealpod.com is made using .NET on Windows and using Java for MacOS.

    Its very quick to develop apps with Java, Swing/JavaFX but porting to Mac and publishing on MacStore etc are pain in wrong place.

    If you plan to use .NET on both windows and Mac you need to use Cocoa binding on Mac, its not complicated but not the straight path. Performance wise .NET is much faster than Java and Electron.

    I feel Electron is the most future ready cross-platform tech right now. Check Takuya Matsuyama Blog (he made cross platform app https://inkdrop.app/ using Electron).

    1. 1

      Thank you so much for the insight!

  5. 1

    Yes, it seems like it, many popular applications out there are still using Electron, though there is an alternative I recently heard about, called NodeGUI, it might be a good alternative if you are looking for performance, where Electron apps doesn't usually do that well.

    https://github.com/nodegui/react-nodegui