Problems and solutions of using jsx syntax in React-vscode

Problems and solutions of using jsx syntax in React-vscode

Problem Description

After installing the plugin ES7 React/Redux/GraphQL/React-Native snippets is still not fully supported

insert image description here

So I referred to the blog and came up with my solution

Workaround

Open settings and search includeLanguages

insert image description here

The search results are as follows (this wxml is the WeChat wxml I set up before as HTML to support emmet syntax)
Click to add itemjavascript :javascriptreact

insert image description here

Just fill in this item, and you will find that he wrote "javascript": "javascriptreact" on it, which is similar to the blog I referenced

insert image description here

That's it!

The above is the detailed content of the problems and solutions of using jsx syntax in React-vscode. For more information about React-vscode jsx syntax, please pay attention to other related articles on 123WORDPRESS.COM!

You may also be interested in:
  • Detailed explanation of incompatible changes in rendering functions in Vue3
  • Detailed explanation of the use of Vue rendering function render
  • Detailed explanation of Vue rendering function
  • How to use jsx syntax correctly in vue
  • Example of using JSX to build component Parser development
  • How to use JSX to implement Carousel components (front-end componentization)
  • Specific use of Vue component jsx syntax
  • Vue jsx usage guide and how to use jsx syntax in vue.js
  • Detailed explanation of how Vue supports JSX syntax
  • Rendering Function & JSX Details

<<:  Mysql view the maximum number of connections and modify the maximum number of connections

>>:  How to install the graphical interface in Linux

Recommend

Centos7.5 configuration java environment installation tomcat explanation

Tomcat is a web server software based on Java lan...

Basic tutorial on controlling Turtlebot3 mobile robot with ROS

Chinese Tutorial https://www.ncnynl.com/category/...

Detailed explanation of grep and egrep commands in Linux

rep / egrep Syntax: grep [-cinvABC] 'word'...

Mac node deletion and reinstallation case study

Mac node delete and reinstall delete node -v sudo...

Nodejs converts JSON string into JSON object error solution

How to convert a JSON string into a JSON object? ...

CenterOS7 installation and configuration environment jdk1.8 tutorial

1. Uninstall the JDK that comes with centeros fir...

MySQL 8.0.18 installation tutorial under Windows (illustration)

Download Download address: https://dev.mysql.com/...

How to change the website accessed by http to https in nginx

Table of contents 1. Background 2. Prerequisites ...

Vue realizes the progress bar change effect

This article uses Vue to simply implement the cha...

How to use IDEA to configure tomcat and create JSP files

Before using idea to write JSP files, you need to...

CSS3 Tab animation example background switching dynamic effect

CSS 3 animation example - dynamic effect of Tab b...

Detailed explanation of the usage and differences of MySQL views and indexes

MySQL Views Simply put, a MySQL view is a shortcu...