how to check react-dom version code example
Example 1: react dom install
npm install react react-dom
Example 2: how to find out which version of React
// 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