how to check reaact version through function code example
Example: how to check reaact version through function
import React from 'react';
function getReactVersion() {
return React.version;
}
import React from 'react';
function getReactVersion() {
return React.version;
}