How can we find the version of React at runtime in the browser?
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'));
October 24, 2022
597
Read more
What is React?
November 06, 2022
ReactJSHow to programmatically trigger click event in React?
November 06, 2022
ReactJS