1. When creating a react project, because the state value of the component will be reset to the initial value when using the webpack-hot-middleware hot update page, the component of react-hot-loader will be used to deal with it, but no matter how to set it, it will not take effect. I don"t know why
2.