Server-side rendering
Riot supports server-side rendering with Node.js. You can require
components and render them:
const render = require('@riotjs/ssr')
const Timer = require('timer.riot')
const html = render('timer', Timer, { start: 42 })
console.log(html) // <timer><p>Seconds Elapsed: 42</p></timer>