What is the difference between a reaction-based installation and an npm installation?

I am new to React Native and have seen several blog posts / tutorials use to install the dependencies native-install install or npm. What is the difference and what are the advantages / disadvantages of both methods?

+4
source share
1 answer

react-native install xxxused to establish a response native dependency, which should be connected subsequently. You only need to bind native iOS / Android dependencies.

The same can be done by executing npm install xxxand then react-native link xxxto link the library

If you just want to install only the JS version of lib, you can simply use npm install

+6

Source: https://habr.com/ru/post/1672220/


All Articles