Skip to content

0.2.2

Pre-release
Pre-release

Choose a tag to compare

@marvinhagemeister marvinhagemeister released this 11 Dec 21:28
  • 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.