Hacker News new | ask | show | jobs
by hpen 2225 days ago
1. Not using the DOM for rendering. 2. Integrating native APIs is much easier.
1 comments

> 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.

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).