choo-resize
Resize Event plugin for Choo. It simply adds an event handler to the window and emits the state.events.RESIZE
event. Server-side rendering isn't working, yet.
Installation
npm i -S choo-resize
Example
const choo = const resize = const app = appapp app
API
resize(render)
Takes an optional argument. If true emits the state.events.RENDER
event too. If you only need to render when the page's resized.