Skip to content

Render JSX-IR directly to DOM (e.g. document.createElement(...))

License

Notifications You must be signed in to change notification settings

OpenJSX/jsx-to-dom

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

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

About

Render JSX-IR directly to DOM (e.g. document.createElement(...))

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published