How Different is React-native from ReactJS?
React | React Native |
---|---|
It is a JavaScript library, supporting front-end web and being run on a server, for web applications and building user interfaces. | It is a framework that compiles to native app components, allowing you to build native mobile applications for different platforms. |
React Js is a Javascript Library where you can develop and run faster web applications. | React-Native is a framework where you can develop mobile applications. |
React is for websites. | React Native is for mobile applications. |
The ReactJs is a JavaScript library to develop apps in HTML5 while using JavaScript as the developing language. Whereas, React Native is a JavaScript framework used to create native mobile applications while using JavaScript as the development language.
Also Read: Difference between React and React Native
BY Best Interview Question ON 03 Mar 2023