3 ms·
Is there a good introduction to starting development with Electron as someone who is a C++ developer? I find web development quite difficult to grok in general;
by mangosherbet 7y ago
Is there a good introduction to starting development with Electron as someone who is a C++ developer? I find web development quite difficult to grok in general; lots of frameworks and technologies.
- crooked-v 7y agoCheck out create-react-app: https://github.com/facebook/create-react-app https://github.com/facebook/create-react-app It sets up a 'modern' React-based web dev environment that can be used to immediately start experimenting with stuff. React acts as a view layer, so you can write views and components in HTML-ish declarative syntax while still getting live updates whenever data changes. Past that, it's common for people to add Redux or MobX, which both act as global data stores with good integration with React, and have lots of secondary libraries for transparently handling data persistence.
- crispinb 7y agoQuelle horreur - clearly web tech is the future of UI, and electron is a reasonable choice until a better solution comes along, but the ecosystem is a foul mess for developers. `npm [anything]` fills your hard drive with an astronomical tangle of hideous code. And there's webpack. You will end up wanting to strangle yourself. Avoid unless you really need it.
- alyandon 7y agoI'm normally a backend developer but I was fooling around with using vue.js + jquery to build a simple SPA without the typical process of npm install <entire world>. When it came time to finally bundle my app into a single html + js file I settled on (well was forced to really) npm install rollup. After installing rollup, I had a package-lock.json file that was 1880 lines long with approximately 150 or so dependencies and a node_modules directory so huge that vscode choked trying to parse everything in it. To its credit, vscode asked me if I wanted to exclude node_modules from future consideration. All that from installing a single tool via npm. I just don't get modern web development.
- pjmlp 7y agoAs C++ developer you are better served with Qt and QML.