> Build regular DOM elements using JSX
With `dom-chef`, you can use Babel or TypeScript to transform [JSX](https://reactjs.org/docs/introducing-jsx.html) into plain old DOM elements, without using the unsafe `innerHTML` or clumsy `document.createElement` calls.
It supports everything you expect from JSX, including:
- [SVG elements](#render-svg)
- [Event listeners](#inline-event-listeners)
- [Inline CSS](#inline-styles)
- [Nested elements](#nested-elements)
- [Function elements](#use-functions)
If something isn't supported (or doesn't work as well as it does in React) please open an issue!
## Install
```
$ npm install dom-chef
```
## Usage
Make sure to use a JSX transpiler (e.g. [Babel](#babel), [TypeScript compiler](#typescript-compiler), [esbuild](https://esbuild.github.io/content-types/#using-jsx-without-react), you only need one of them).
```jsx
import {h} from 'dom-chef';
const handleClick = e => {
//