The solution to webstorm react error: first open webstorm; then open "Languages and Frameworks->JavaScript->language version" in order; finally select react jsx in the drop-down box.
The operating environment of this tutorial: windows7 system, webstorm2020.3&&react16.4.0 version, Dell G3 computer.
Recommended: "webstorm tutorial"
Using reactjs syntax in WebStorm to report errors
The situation is as shown in the figure:
The above is the detailed content of How to solve webstorm react error problem. For more information, please follow other related articles on the PHP Chinese website!