Skip to content

Better HTML support for react #24524

@isidorn

Description

@isidorn

Refs: #24403

Currently if my react component returns HTML I do not get any nice HTML support when I try to edit this, instead this code is treated as javascript.

Easy repro steps

  1. npm install -g create-react-app
  2. create-react-app my-app
  3. cd my-app/
  4. code-insiders .
  5. open app.js and try editing the HTML returned by the component

Metadata

Metadata

Assignees

Labels

feature-requestRequest for new features or functionalityhtmlHTML support issuesjavascriptJavaScript support issues

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions