tagged-jsx
Version:
Tagged Template for jsx
17 lines (12 loc) • 285 B
Markdown
# Tagged JSX
## Install
```sh
$ npm i tagged-jsx
```
## How to use
The usage of the htm(https://github.com/developit/htm) module has been slightly modified.
```jsx
import { html } from "tagged-jsx";
import React from "react";
html`<a href="/">Hello!</a>`(React.createElement);
```