Home > Web Front-end > JS Tutorial > body text

What should I do if an error occurs when writing react in webstorm?

coldplay.xixi
Release: 2020-12-01 14:55:36
Original
2080 people have browsed it

The solution to the error when writing react in webstorm: first set the javaScript language version to React jsx; then set ESLint Disable ESLint.

What should I do if an error occurs when writing react in webstorm?

The operating environment of this tutorial: windows7 system, React17 version. This method is suitable for all brands of computers.

Solution to webstorm error when writing react:

1. Set javaScript language version and select Field for React jsx

-> Settings -> Languages ​​& frameworks ->javaScript ->javaScript language version

What should I do if an error occurs when writing react in webstorm?

2. Set ESLint Disable ESLint

What should I do if an error occurs when writing react in webstorm?

What should I do if an error occurs when writing react in webstorm?

##Related learning recommendations:

javascript video tutorial

The above is the detailed content of What should I do if an error occurs when writing react in webstorm?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template