8000 GitHub - riot/hot-reload: Riot hot reload API
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

riot/hot-reload

Repository files navigation

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)

About

Riot hot reload API

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  
0