understated

0.0.2 • Public • Published

understated

understated on Travis understated on NPM understated Downloads on NPM Standard JavaScript Style

Render stateless components and JSX to real DOM.

Install

$ npm i understated --save

Use

import {
  h,
  render
} from 'understated'

// tell babel to use h as the JSX pragma
/** @jsx h */

// create a component
const Component = props => (
  <p className="content">{ props.text }</p>
)

// render it
render(
  <Component text="A stateless component."/>,
  document.body
)

License

MIT. © 2017 Michael Cavalea

Readme

Keywords

Package Sidebar

Install

npm i understated

Weekly Downloads

0

Version

0.0.2

License

MIT

Last publish

Collaborators

  • callmecavs