4 ms·
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 nativ
by maxharris 10y ago
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.)
- smt88 10y agoReact Native is for mobile, whereas Electron is for desktop. They're not substitutes for one another.
- spdustin 10y agoWell, there is react-native-desktop for macOS... https://github.com/ptmt/react-native-desktop https://github.com/ptmt/react-native-desktop But that's me being pedantic.
- maxharris 10y agoreact-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.
- freestockoption 10y agoAlso available from Microsoft: https://github.com/ReactWindows/react-native-windows https://github.com/ReactWindows/react-native-windows Seems to be only Windows 10 and xbox though.
- herbst 10y agoCan Facebook be trusted to properly run this and not drive it against a wall soon enough?