stakit-choo
Stakit utilities for Choo.
Installation
npm i stakit-choo
Example
var stakit = var render hydrate = var app =
Usage
Currently provides a renderer and a transform.
stakitChoo.render(app)
Renders the page using app.toString
.
stakitChoo.hydrate
A simple transform that appends a script that sets window.initialState
to the state of the page, aka. rehydration.