|
|
|
|
|
by htormey
3421 days ago
|
|
Just in case some folks read this comment the wrong way, React Native is not based on webviews like say Cordova: http://stackoverflow.com/questions/33479180/what-does-react-... "React Native uses a JavaScript runtime, but the UI is not HTML and it doesn't use a WebView. You use JSX and React Native specific components to define the UI." Some notes on React's virtual DOM concept: https://facebook.github.io/react/docs/optimizing-performance... "React builds and maintains an internal representation of the rendered UI. It includes the React elements you return from your components. This representation lets React avoid creating DOM nodes and accessing existing ones beyond necessity, as that can be slower than operations on JavaScript objects. Sometimes it is referred to as a "virtual DOM", but it works the same way on React Native." This is an important point to note as a lot of the problems associated with hybrid apps in the past come down to them being based on WebViews. |
|