What is the difference between react native and react?

Differences: 1. React drives html dom rendering; React Native drives android/ios native component rendering. 2. Writing react can be directly started with front-end knowledge, while react native is also possible, but it is difficult to go deep without native knowledge support.



[Related tutorial recommendation: React video tutorial]

The difference between react native and react The

principle is slightly different:

React and React Native have the same principle, and both are implemented by js virtual dom to drive the interface view layer rendering. It's just that React drives html dom rendering; React Native drives android/ios native component rendering. In fact, before the launch of React Native, this kind of technology that uses js to drive app native components, such as Native Script, existed.

The programming ideas will be different:

react directly renders dom, while react native generates id, and uses bridge (the latest implemented in c++) to become a table, waiting for native to call, writing react can be directly started with front-end knowledge, although react native is also Yes, but it is difficult to go deeper without native knowledge support.

Guess you like

Origin blog.csdn.net/ny18002122997/article/details/113087442