Skip to content

Correctly apply comments for JSX #10

@silvenon

Description

@silvenon

When commenting a line using + /, top-level JSX:

<Foo />

should turn into Markdown comments:

<!-- <Foo /> -->

and commenting content inside a JSX tag:

<Foo>
  <Bar />
</Foo>

should turn into JSX comments:

<Foo>
  {/* <Bar /> */}
</Foo>

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions