Re:React Native for Windows and Mac
by markharper on Tuesday May 12, 2020 @06:11PM
(#23160636)
What would be the benefit over electron?
[ Parent
| on HN ]
1. Not using the DOM for rendering.
2. Integrating native APIs is much easier.
> Being compiled to native code is a huge benefit.
It's still just running Javascript. The real difference is that it uses widgets that are native to the platform, instead of a browser engine/DOM.
Re:React Native for Windows and Mac
by eyelidlessness on Tuesday May 12, 2020 @09:03PM
(#23162219)
It's not "just" running JS, it's also running JS. Part of the control flow into and out of the native widgets is JS, and part of it is abstractions over scripting bridges employed by RN (and its various forks).