npm

Join us for the upcoming webinar, "Enterprise JavaScript done right: the tools you love, the security you need."Sign up here »

@riotjs/hot-reload

4.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.

Important

If you are using Riot.js < 4.0.0 please check the v3 branch

Usage

import reload from '@riotjs/hot-reload'
import Component from './my-component'
// refresh all the DOM nodes called 'my-component' without losing their state
reload(Component)

Keywords

none

install

npm i @riotjs/hot-reload

Downloadsweekly downloads

66

version

4.0.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability