A tiny 500-byte library for JSX syntax templates targeting the DOM. Supports HTML, SVG, and MathML tags
npm install jsx-dom-runtimeA tiny 500-byte library for JSX syntax templates targeting the DOM. Supports HTML, SVG, and MathML tags.


``bash`
npm i jsx-dom-runtimeor
yarn add jsx-dom-runtime
Add preset to your .babelrc file.
.babelrc
`json`
{
"presets": [
"jsx-dom-runtime/babel-preset"
]
}
`js
// add to the end of the head
document.head.append(
);
// add to the end the the body
document.body.append(
Hello World!
);
`
)
- Property Directives (prop:*`)