Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

JSX Fragments Not Supported #19

@lukescott

Description

@lukescott

Prerequisites

Description

JSX Fragments are not supported.

Steps to Reproduce

  1. Open a new file and set file type to TypeScriptReact
  2. Input code const fragment = <></>

Expected behavior:

Syntax should be supported and shouldn't show as invalid characters.

What Babel ES6 JavaScript does:

screen shot 2018-03-21 at 1 52 41 pm

Actual behavior:

Syntax is not supported and shows as invalid.

What TypeScriptReact does:

screen shot 2018-03-21 at 1 52 15 pm

Reproduces how often: Always.

Versions

Atom : 1.25.0
Electron: 1.7.11
Chrome : 58.0.3029.110
Node : 7.9.0
apm 1.19.0
npm 3.10.10
node 6.9.5 x64
atom 1.25.0
python 2.7.10
git 2.13.2
os OS X 10.12.2

Additional Information

JSX Fragments are currently supported in TypeScript 2.6. Closed issue microsoft/TypeScript#19094.

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