Skip to content

JSX option "preserve" discards whitespace #3818

@bterlson

Description

@bterlson

The JSX preserve transform discards leading whitespace within a JSXElement and prior to a child JSXElement, and discards trailing whitespace after a child JSXElement . See this example here where the output JSX for Foo
should contain more whitespace at the start and end of the component.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions