4 ms·
Ask HN: I am confused about ReactJS Native
I understand that ReacJS works natively and that there is no DOM. But isn't it just that. A web view builds views from the html file, but react js builds it with native function calls and its own renderer. After all the over head of javascript still exists.
>> ReactJS native just replaces the DOM rendering part of webview with something else of its own.
- yuashizuki 12y agoBasicaly its nothing but a new webview, offcourse with privilage api access.
- evv 12y agoReact Native does not use a webview. The overhead comes from a slow DOM and other browser cruft like over-complicated CSS. We've found that Javascript itself is actually quite fast. We are no longer constrained by browser APIs. For example, we can access native device features, and we can also integrate other native components into React Native apps.