get react version
snippet in javascript

get react version

user2623

// 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