in React JS by

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

1 Answer

0 votes

You can use React.version to get the version.

const REACT_VERSION = React.version

  <div>{`React version: ${REACT_VERSION}`}</div>,
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