check version of react code example
Example 1: check laravel version
php artisan --version
Example 2: check react version
npm view react version
npm view react-script version
Example 3: get react version
// To view which version of React is/was used for a particular app, type in the below in commandline/terminal.
npm view react version
npm view react-native version
Example 4: how to check reactjs version in command prompt
npm list react