gotchajavascriptreactCritical
What is the difference between React Native and React?
Viewed 0 times
nativeandbetweenthedifferencereactwhat
Problem
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 Google. React and React Native seems to have the same format. Do they have completely different syntax?
Solution
React is a JavaScript library, supporting both front-end web and being run on a server, for building user interfaces and web applications. It follows the concept of reusable components.
React Native is a mobile framework that makes use of the JavaScript engine available on the host, allowing you to build mobile applications for different platforms (iOS, Android, and Windows Mobile) in JavaScript that allows you to use React to build reusable components and communicate with native components (further explanation).
Both follow the JSX syntax extension of JavaScript. Which compiles to
Both are open-sourced by Facebook.
React Native is a mobile framework that makes use of the JavaScript engine available on the host, allowing you to build mobile applications for different platforms (iOS, Android, and Windows Mobile) in JavaScript that allows you to use React to build reusable components and communicate with native components (further explanation).
Both follow the JSX syntax extension of JavaScript. Which compiles to
React.createElement calls under the hood. JSX in-depth.Both are open-sourced by Facebook.
Context
Stack Overflow Q#34641582, score: 1115
Revisions (0)
No revisions yet.