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
When using react fragments as <></> and running bit status you get an Unexpected token error.
After changing all fragments to div tags the error is solved.
I'm using bit version 14.4.1
Describe the solution you'd like
Would be useful to be able to use the latest react features 😃
The text was updated successfully, but these errors were encountered:
It happened due to an old version of the module-definition package required by bit-javascript. This package required babel@6.x, which doesn't support React fragments.
Fixed by updating that package and many more.
Description
When using react fragments as
<>
</>
and runningbit status
you get anUnexpected token
error.After changing all fragments to
div
tags the error is solved.I'm using bit version 14.4.1
Describe the solution you'd like
Would be useful to be able to use the latest react features 😃
The text was updated successfully, but these errors were encountered: