@kurone-kito/react-to-html-practice
v0.2.0
Published
Experiment: (json: object) =[React]=> (single html string)
Downloads
1
Readme
@kurone-kito/react-to-html-practice
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/*
.