FrontendDeveloper.in

React question detail

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(
document.getElementById("app")
);
Back to all React questions
Get LinkedIn Premium at Rs 399