My current process for adding a module involves using:
npm i --save <package_name>
After that, I typically run: react-native link
instead of specifying the package name, which links all possible react native libraries listed in my package.json file. But this approach becomes an issue when one of the packages I want to use specifically advises against using react-native link
.
The package causing the complication is react-community/react-native-maps; https://github.com/react-community/react-native-maps
In the library's documentation, it states:
IMPORTANT!! !! DO NOT USE !! react-native link
I am seeking assistance with preventing others working on my project in the future from making the mistake of running react-native link
. Please advise.