4 ms·
It depends. Obviously if you're an experienced front end web developer then Electron is an easy choice, and the benefits of using your existing knowledge probab
by wjoe 10y ago
It depends. Obviously if you're an experienced front end web developer then Electron is an easy choice, and the benefits of using your existing knowledge probably outweighs the speed/resource benefits of a native app, especially for something simple.
A lot of people think Electron is easy to use for everyone though. I fell into this trap last year, I've been doing HTML/CSS since I was in school, and I'm comfortable enough in JS. But once things started getting complex with my project, I realised I was going to need to use some of the bigger frameworks that I'm not familiar with. I started trying to build something with React, Redux, and all the various things that go with it, got overwhelmed, and gave up.
I've recently gone back to the original idea I had, and started from scratch in Qt, with no knowledge of it. It was a bit of a learning curve at the start, but overall the learning experience has been a lot easier than trying to learn the entire current JavaScript ecosystem.
I would say Electron is a good choice for JS experts or simple programs, but otherwise I'd recommend at least giving Qt a try.
- ksherlock 10y agoif it's a simple program, why would you want to include a few hundred megabytes of dependencies? Seems like a good opportunity to learn something better.