You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not a React expert so i had to find some documentation when writing the JSX parser and that documentation didn't allow fragments inside elements. I tried that syntax and it works with React so i've implemented it, now it works as expected.
Originally reported at wp-cli/i18n-command#280, Peast fails to parse the following JSX using the
<>
/</>
shorthand syntax for React fragments:Errror:
Fragments are being parsed fine if they're on the outmost side though:
The text was updated successfully, but these errors were encountered: