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
jsx renderer never renders any components anymore.
Steps to reproduce the behavior
Run the demo snippet from the readme using the jsx syntax.
Expected behavior
The element renders.
Additional context
Babel will return e.g. '/*#__PURE__*/\nReact.createElement(TestEl2, null, "children");' as a transpiled string (notice the /*#__PURE__*/, which will break the assumption that return will return the created element. THe inner function will return null instead.
The text was updated successfully, but these errors were encountered:
Describe the bug
jsx renderer never renders any components anymore.
Steps to reproduce the behavior
Run the demo snippet from the readme using the jsx syntax.
Expected behavior
The element renders.
Additional context
Babel will return e.g.
'/*#__PURE__*/\nReact.createElement(TestEl2, null, "children");'
as a transpiled string (notice the/*#__PURE__*/
, which will break the assumption that return will return the created element. THe inner function will returnnull
instead.The text was updated successfully, but these errors were encountered: