unstated-hmr
TypeScript icon, indicating that this package has built-in type declarations

1.0.6 • Public • Published

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

Package Sidebar

Install

npm i unstated-hmr

Weekly Downloads

0

Version

1.0.6

License

MIT

Unpacked Size

8.15 kB

Total Files

8

Last publish

Collaborators

  • fabiospampinato