Details
Update Packages in a JavaScript project
To my knowledge, all JavaScript related projects
i.e React
, Vue
, React Native
etc, basically all npm
related packages
can be updated with the following command
npx npm-check-updates -u
npm install
To downgrade a package to a lower version
enter the folowing command
npm install <package-name>@<version-number>
For example
npm install react-native@0.74.5
It's JavaScript we're talking about here so take it with a pinch of salt.