inferno-create-element
TypeScript icon, indicating that this package has built-in type declarations

8.2.3 • Public • Published

inferno-create-element

Inferno package with helpers to create Inferno elements

Install

npm install inferno-create-element

Usage

import { createElement } from 'inferno-create-element';
import { render } from 'inferno';

render(
  createElement('div', { className: 'test' }, "I'm a child!"),
  document.getElementById("app")
);

Package Sidebar

Install

npm i inferno-create-element

Weekly Downloads

100,374

Version

8.2.3

License

MIT

Unpacked Size

20.3 kB

Total Files

12

Last publish

Collaborators

  • longlho
  • nightwolfz
  • lukesheard
  • trueadm
  • havunen