Create stateless React component from JSON templates
React project can not import components from untrusted place. It makes moving of UI templates to external configuration hard. The main idea of react-json-pn is to use ui templates in JSON form.
import { createCompiler } from 'json-pn'
import { createComponentFactory } from 'react-json-pn'
const componentsFactory = createComponentFactory(createCompiler())
const HelloWord = componentsFactory(['div', {}, 'Hello Word'])
render( <HelloWord />, document.getElementById('root_id'))