@riotjs/hot-reload

9.0.1 • Public • Published

Riot hot reload api

Riot.js hot reload logo

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)

Readme

Keywords

none

Package Sidebar

Install

npm i @riotjs/hot-reload

Weekly Downloads

244

Version

9.0.1

License

MIT

Unpacked Size

8.23 kB

Total Files

5

Last publish

Collaborators

  • gianlucaguarini