0.2.0 • Published 5 years ago

@kurone-kito/react-to-html-practice v0.2.0

Weekly downloads
3
License
MIT
Repository
github
Last release
5 years ago

@kurone-kito/react-to-html-practice

npm version

Experiment: (json: object) =React=> "<html />"

Usage

const { render } = require('@kurone-kito/react-to-html-practice');
const html = render({ foo: 'bar' });
console.log(html); // <DOCTYPE html><html>...</html>

API

  • render(param)

Render HTML.

  • The argument can be an object or an array.
  • The return value is HTML with embedded arguments and ReactJS.

Alias: default

Develop

npm install
npm start

The browser starts and monitors changes in files under src/*.

0.2.0

5 years ago

0.1.0

5 years ago