in React JS by
Q:

How can we find the version of React at runtime in the browser?

1 Answer

0 votes
by

You can use React.version to get the version.

const REACT_VERSION = React.version

ReactDOM.render(
  <div>{`React version: ${REACT_VERSION}`}</div>,
  document.getElementById('app')
)
Click here to read more about React JS
Click here to read more about Insurance

Related questions

0 votes
asked Dec 19, 2019 in Python by sharadyadav1986
0 votes
asked Jan 11, 2020 in Big Data | Hadoop by rajeshsharma
0 votes
asked Mar 1, 2020 in React JS by RShastri
0 votes
asked May 16, 2020 in Python by Robindeniel
0 votes
asked Jan 14, 2020 in QuickTest Professional (QTP) by GeorgeBell
...