check react version
npm view react version
npm view react-script version
check react version
npm view react version
npm view react-script version
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
how to check react version
import React from 'react';
function getReactVersion() {
return React.version;
}
find react version
const REACT_VERSION = React.version;
ReactDOM.render(
<div>React version: {REACT_VERSION}</div>,
document.getElementById('root')
);
<script src="https://cdnjs.cloudflare.com/ajax/libs/react/15.1.0/react.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/react/15.1.0/react-dom.min.js"></script>
<div id="root"></div>
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us