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