Skip to content
Riot hot reload API
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src closes #6 May 4, 2019
test updated: dev dependencies and bump release May 30, 2019
.codeclimate.yml fixed: typo Jan 18, 2017
.eslintrc updated: new api for riot4 Feb 24, 2019
.gitignore Initial commit Dec 18, 2016
.travis.yml updated: new api for riot4 Feb 24, 2019
LICENSE Initial commit Dec 18, 2016
README.md updated: readme for legacy projects Apr 19, 2019
index.js closes #6 May 4, 2019
package-lock.json updated: dev dependencies and bump release May 30, 2019
package.json updated: dev dependencies and bump release May 30, 2019
rollup.config.js

README.md

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)
You can’t perform that action at this time.