developit / vhtml

Render JSX/Hyperscript to HTML strings, without VDOM 🌈

Home Page:http://npm.im/vhtml

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Is pragmaFrag supported?

jcubic opened this issue · comments

I'm trying to use a fragment

<>
</>

but got error from babel:

transform-react-jsx: pragma has been set but pragmaFrag has not been set

I'm using Codepen. Here is my code https://codepen.io/jcubic/pen/jOJbOwG

Found how to setup this on CodePen:

/** @jsx vhtml */
/** @jsxFrag vhtml.Fragment */