I need to display version of my react app in the footer in x.y.z format.
I need this version to increment every time I deploy the app by being provided a choice if I want to increment x or y or z.
How do I achieve this? :)
First, go to the package. json file and change the version of react , react-dom , and react-scripts to the desired version. Next, clear the node_modules and the package-lock. json file.
v5. 0.0 (2021-12-14)
You will have to install it separately for each project.
To bump the version of your app you can use npm version.
For example:
npm version minor
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With