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
Babel's react-jsx preset treats low-case tags as
literal elements, not as a variables.
So, for jsx:
<wrapper ... />
It generates js:
React.createElement('wrapper')
But we want:
React.createElement(wrapper)
Changing case of variable fixes the issue
0 commit comments