0.0.5 • Published 2 years ago
tagged-jsx v0.0.5
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);