riot-hot-reload

1.0.0 • Public • Published

Riot hot reload api

Build Status

NPM version NPM downloads MIT License

Api that will extend riot making your tags hot reloadable.

Usage

import riot from 'riot'
import 'riot-hot-reload'
 
// refresh the tags called 'my-component' without losing their state
riot.reload('my-component')

Readme

Keywords

none

Package Sidebar

Install

npm i riot-hot-reload

Weekly Downloads

367

Version

1.0.0

License

MIT

Last publish

Collaborators

  • gianlucaguarini