Tuesday 16 January 2018

javascript - What is the difference between React Native and React?

itemprop="text">

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?



Answer




href="https://facebook.github.io/react/" rel="noreferrer">ReactJS is a
JavaScript library, supporting both front-end web and being run on a server, for
building user interfaces and web
applications.




href="https://facebook.github.io/react-native/" rel="noreferrer">React
Native is a mobile framework that compiles to native app components, allowing
you to build native mobile applications for different platforms (iOS, Android, and
Windows Mobile) in JavaScript that allows you to use ReactJS to build your components,
and implements ReactJS under the hood.



Both are
open sourced by Facebook.


No comments:

Post a Comment

php - file_get_contents shows unexpected output while reading a file

I want to output an inline jpg image as a base64 encoded string, however when I do this : $contents = file_get_contents($filename); print &q...