JSPM

inferno-create-element

3.1.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 150183
  • Score
    100M100P100Q170328F
  • License MIT

Provides methods to create Inferno VNodes

Package Exports

  • inferno-create-element

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (inferno-create-element) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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 Inferno from 'inferno';

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