shiva kumar shiva kumar - 1 month ago 13
React JSX Question

What is difference between React native vs React?

I have started to learn React out of curiosity and wanted to know this. Could not find a satisfactory answer in Google. React and React native seem to have same format. Do they have completely different syntax?

Answer

ReactJS is a JavaScript library, supporting both front end web and being run on the server, for building user interfaces and web applications.

React Native is a mobile framework that compiles to native app components, allowing you to build native mobile applications (iOS, Android, and Windows) in JavaScript that allows you to use ReactJS to build your components, and implements ReactJS under the hood.

Both are open sourced by Facebook.