4 ms·
Just getting started on Electron myself. Used by Atom, Slack, Visual Studio... It's worth a look ;) Electron - Build Cross-Platform Desktop Apps With HTML, JS,
by fitzwatermellow 10y ago
Just getting started on Electron myself. Used by Atom, Slack, Visual Studio... It's worth a look ;)
Electron - Build Cross-Platform Desktop Apps With HTML, JS, CSS
http://electron.atom.io/ http://electron.atom.io/
- lossolo 10y agoA little correction: Visual Studio Code, not Visual Studio. They are totally different beasts.
- jbergens 10y agoElectron only works for desktop applications and probably needs a js-framework to work good. I think that React + Electron looks like a nice combo and then you can use React Native to create Android and iPhone apps also, probably sharing a lot of code between all versions.
- jc4p 10y ago+1 on this, I'm having a very pleasant time working on a couple Electron+React apps right now. I've been starting my apps based off https://github.com/chentsulin/electron-react-boilerplate https://github.com/chentsulin/electron-react-boilerplate but diverging greatly after getting it running.
- CuriousSkeptic 10y agoInstead of react native you can also just reuse the UI-code directly for the mobile deployment. Just add meta tags like apple-mobile-web-app-capable=true and style with @media-rules. To be fair "just" might be over simplifying things a bit. I've been doing this for an application and thinking that it actually would be a benefit to have a different code bases for the desktop and mobile editions. It can be a bit challenging to design for both targets at once.
- WorldMaker 10y agoAt the moment the pairing seems to be Electron + Cordova for non-React JS frameworks; with those two you can share 100% HTML at least if you have a responsive CSS design. Also, now that React Native is extending into the Desktop space more directly (with Linux, Mac, and Windows UWP variants), for React you may not need Electron at all.
- WorldMaker 10y agoFurther aside, I'm also amused and unsurprised that engineering has been going into React Native for Web [1] so that with React Native you might not even target base DOM React again. [1] https://github.com/necolas/react-native-web https://github.com/necolas/react-native-web
- idobai 10y ago> Just getting started on Electron myself. Used by Atom, Slack, Visual Studio... It's worth a look ;) No more js app please! They're terrible! They're slow! They leak a LOT of memory! They don't work on virtual machines!
- rer 10y agoNo HTML, JS, CSS. Electron is eliminated.
- paulddraper 10y agoHuh? I don't get what you are saying. Are you referencing something here?
- aphextron 10y agoElectron is ok for certain applications, but I'm really wary of this whole trend. It's leading to extremely buggy, resource intensive desktop applications.