Skip to content
This repository has been archived by the owner on Aug 10, 2019. It is now read-only.

Preserve containers' states across Hot-Module-Replacements.

License

Notifications You must be signed in to change notification settings

fabiospampinato/unstated-hmr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Unstated HMR

Preserve containers' states across Hot-Module-Replacements.

Install

npm install --save unstated-hmr

Usage

import HMR from 'unstated-hmr'; // Just load the library before initializing the containers

HMR.isEnabled = IS_DEVELOPMENT;

Related

License

MIT © Fabio Spampinato

About

Preserve containers' states across Hot-Module-Replacements.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published