Skip to content

Regression in JSX copy-paste? #1149

@TomiS

Description

@TomiS

If I copy this JSX:

<Component user />

and paste it 'as ReScript JSX' (default behavior), following code is produced:

<Component user=true />

This is obviously incorrect. Pasting it as raw text works. I wonder if this is a regression in the latest plugin or something else. I just started experiencing this today.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions