Skip to content

Comment on Ask HN: Why / Why Not Use Electron?

Comments

Why not use React native? Putting a browser inside your mobile or desktop app is always going to be bloated and slow compared to using JavaScript to drive native views.

(Users might not notice that bloat and slowness if they're on a desktop system with a fast CPU and lots of RAM, which is one reason why Electron seems okay in certain cases.)

React Native is for mobile, whereas Electron is for desktop. They're not substitutes for one another.

Well, there is react-native-desktop for macOS...

https://github.com/ptmt/react-native-desktop

But that's me being pedantic.

react-native-desktop is what I was thinking of when I wrote my original post. I think it's a matter of time before there's a Windows version.

Also available from Microsoft: https://github.com/ReactWindows/react-native-windows

Seems to be only Windows 10 and xbox though.

Can Facebook be trusted to properly run this and not drive it against a wall soon enough?

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.