News for hackers. Stuff that matters.
Re:React Native for Windows and Mac by markharper on Tuesday May 12, 2020 @06:11PM (#23160636)
What would be the benefit over electron?
Re:React Native for Windows and Mac by hpen on Tuesday May 12, 2020 @06:36PM (#23160923)
1. Not using the DOM for rendering. 2. Integrating native APIs is much easier.
Re:React Native for Windows and Mac by wtetzner on Tuesday May 12, 2020 @07:14PM (#23161274)
> 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).