Webpack configuration introduces react, not compressed min.js

has been learning react recently. When learning about PropTypes. I wrote according to the example on the official website, but found that the type check was invalid. I wonder if it is because react is a version of min.js that there is no check function? Due to the lack of my own configuration of webpack, I don"t know how to verify which version of the introduced react. I hope someone can answer

Nov.24,2021
Menu