Add support for JSX-Fragments #3341
Labels
lang:jsx
Issues affecting JSX (not general JS issues)
locked-due-to-inactivity
Please open a new issue and fill out the template instead of commenting.
status:has pr
Issues with an accompanying pull request. These issues will probably be fixed soon!
type:enhancement
A potential new feature to be added, or an improvement to how we print something
Milestone
Prettier 1.8.2
Playground link
Input:
Output:
Expected behavior:
React
16.2.0
was just released with support for jsx fragments. These are currently not recognized by prettier and lead to syntax error.Link to JSX-Fragments spec
The text was updated successfully, but these errors were encountered: