![Gitter](https://badges.gitter.im/Join Chat.svg)
Use mithril views to render server side
var m = require('mithril');
var render = require('mithril-node-render');
render(m('span', 'huhu')) //<span>huhu</span>
Optionally pass in options as an object: m.render(component, options)
.
The following options are supported:
escapeAttributeValue(value)
Default: render.escapeHtml
A filter function for attribute values. Receives value, returns what is printed.
escapeString(value)
Default: render.escapeHtml
A filter function for string nodes. Receives value, returns what is printed.
- Blog post about isomorphic mithril applications
- Usage Example