1.0.2 • Published 7 years ago

react-static-hello-world v1.0.2

Weekly downloads
2
License
ISC
Repository
github
Last release
7 years ago

Test JSX static html renderer

This package carries out a simple demonstration of static html rendering as module built with babel, webpack and React/JSX.

The library takes a single text input and returns markup with the text as the title of the an h1.

const createMarkup = require('react-static-hello-world');

console.log(createMarkup('hello-world'));
<h1>hello world</h1>
1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago