1.0.2 • Published 7 years ago
react-static-hello-world v1.0.2
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>