What is the difference between React Native and React?

后端 未结 30 2637
粉色の甜心
粉色の甜心 2020-11-28 00:22

I have started to learn React out of curiosity and wanted to know the difference between React and React Native - though could not find a satisfactory answer using

30条回答
  •  借酒劲吻你
    2020-11-28 00:58

    ReactJS

    • React is used for creating websites, web apps, SPAs etc.

    • React is a Javascript library used for creating UI hierarchy.

    • It is responsible for rendering of UI components, It is considered as V part Of MVC framework.

    • React’s virtual DOM is faster than the conventional full refresh model, since the virtual DOM refreshes only parts of the page, Thus decreasing the page refresh time.

    • React uses components as basic unit of UI which can be reused this saves coding time. Simple and easy to learn.

      React Native

    • React Native is a framework that is used to create cross-platform Native apps. It means you can create native apps and the same app will run on Android and ios.

    • React native have all the benefits of ReactJS

    • React native allows developers to create native apps in web-style approach.

提交回复
热议问题