JSX Fragment encountered as Unexpected Token
Opened this issue · 11 comments
zolomohan commented
<>
<Foo />
<Foo />
</>
Output on Format:
Unexpected token (7:4)
5 | export default function Modal({ children, show, closeModal }) {
6 | return (
> 7 | <>
| ^
8 | `<Foo />`
9 | `<Foo />`
10 | </>
StebanDev commented
I am having the same issue, please have a look at it.
knitevision1 commented
Agreed, same here, but when using TSX, says type expected
and highlights <>
ByeBye-Sama commented
Same here 😿
etoler1841 commented
Chiming in with the same issue.
wj42ftns commented
The same
kamelkeb commented
Same here, how can we help?
gogeccc commented
Still an issue. @remimarsal you got any idea what's causing this, could it be some configuration for prettier? cc @goranjviv
hwknsj commented
Just wanted to bump this, I have no clue how to fix it either.
jinyongp commented
Is this extension no longer maintained?
boroji commented
Same issue is being encountered
boroji commented
Is this going to be updated anytime soon ?