rogain-render-string
Render a Rogain tree into html using string concatination. Useful for server rendering.
Example
;; documentbodyinnerHTML = ;
renderToString(tree, props, options)
Renders a tree with a given set of properies.
tree
Object in Rogain tree format.
props
Object.
options
options.components
optional rogain-registry
instance. defines components used in resolution.
Install
With npm do:
npm install rogain-render-string
License
MIT