.. | ||
.github/workflows | ||
src | ||
test | ||
.codeclimate.yml | ||
.eslintrc | ||
index.js | ||
LICENSE | ||
package.json | ||
README.md | ||
rollup.config.js |
Riot hot reload api
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)