are react and react-native referring the same thing? What are the differences if not?

are react and react-native referring the same thing? What are the differences if not?
It's strange that even though npm list shows empty for react-native but it's actually installed:
 
$ react-native -v
react-native-cli: 2.0.1
react-native: 0.55.4
$ npm list react-native
[email protected] /Users/...
└── (empty)
I am wondering if there is a similar way to check reactversion installed.
You already invited:

bot

Upvotes from:

react is mainly for developing web pages using JSX (Javascript and XML). react-native is for mobile app development and it uses react as a dependency module. just like react, react-native uses JSX. The only difference is that react-native has this extra layer that translate JSX and javascript module into mobile native languages, namely swift for iOS and java for android.

If you wanna answer this question please Login or Register