News for hackers. Stuff that matters.
Re:Ask HN: Why / Why Not Use Electron? by maxharris on Tuesday July 19, 2016 @12:05AM (#12119545)
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.)

Re:Ask HN: Why / Why Not Use Electron? by smt88 on Tuesday July 19, 2016 @12:19AM (#12119618)
React Native is for mobile, whereas Electron is for desktop. They're not substitutes for one another.
Re:Ask HN: Why / Why Not Use Electron? by spdustin on Tuesday July 19, 2016 @01:13AM (#12119861)
Well, there is react-native-desktop for macOS...

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

But that's me being pedantic.

Re:Ask HN: Why / Why Not Use Electron? by maxharris on Tuesday July 19, 2016 @02:04AM (#12120063)
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.
Re:Ask HN: Why / Why Not Use Electron? by freestockoption on Tuesday July 19, 2016 @02:17AM (#12120113)
Also available from Microsoft: https://github.com/ReactWindows/react-native-windows

Seems to be only Windows 10 and xbox though.

Re:Ask HN: Why / Why Not Use Electron? by herbst on Tuesday July 19, 2016 @02:31AM (#12120184)
Can Facebook be trusted to properly run this and not drive it against a wall soon enough?