0.2.2
Pre-release
Pre-release
- experimental support for
JSX Fragments
Because preact doesn't have support for Fragments yet and TypeScript only supports it when the jsx pragma is set to React, we export a fake React object where React.createElement is aliased to h and React.Fragment is a custom component. The latter is a special case for the renderer.