Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

tagged-jsx

daybrush247MIT0.0.5TypeScript support: included

Tagged Template for jsx

tagged, jsx, template, hyper, htm, html

readme

Tagged JSX

Install

$ npm i tagged-jsx

How to use

The usage of the htm(https://github.com/developit/htm) module has been slightly modified.

import { html } from "tagged-jsx";
import React from "react";

html`<a href="/">Hello!</a>`(React.createElement);