npm

npm’s 2019 JavaScript ecosystem survey analysis is now available! Get your copy here »

jsx-to-dom

1.1.0 • Public • Published

DOM Renderer for JSX-IR

Installation

npm install jsx-to-dom

Usage

Transpiling

babel.transform(code, {
  plugins: ['jsx-to-dom/babel-plugin'],
  blacklist: ['react']
});

or any other way described here, just pass `'jsx-to-dom/babel-plugin'`` as a plugin name.

Runtime

import { render } from 'jsx-to-dom';
 
var element = render(<div className="hello">Hello World</div>);
 
container.appendChild(element);

License

MIT

Keywords

none

install

npm i jsx-to-dom

Downloadsweekly downloads

10

version

1.1.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability