react-hot-api
Advanced tools
Comparing version 0.4.0 to 0.4.1
@@ -365,3 +365,7 @@ (function webpackUniversalModuleDefinition(root, factory) { | ||
if (rootInstances.hasOwnProperty(key)) { | ||
deepForceUpdate(rootInstances[key], React); | ||
rootInstance = rootInstances[key]; | ||
// `|| rootInstance` for React 0.12 and earlier | ||
rootInstance = rootInstance._reactInternalInstance || rootInstance; | ||
deepForceUpdate(rootInstance, React); | ||
} | ||
@@ -368,0 +372,0 @@ } |
@@ -23,3 +23,7 @@ var deepForceUpdate = require('./deepForceUpdate'); | ||
if (rootInstances.hasOwnProperty(key)) { | ||
deepForceUpdate(rootInstances[key], React); | ||
rootInstance = rootInstances[key]; | ||
// `|| rootInstance` for React 0.12 and earlier | ||
rootInstance = rootInstance._reactInternalInstance || rootInstance; | ||
deepForceUpdate(rootInstance, React); | ||
} | ||
@@ -26,0 +30,0 @@ } |
{ | ||
"name": "react-hot-api", | ||
"version": "0.4.0", | ||
"version": "0.4.1", | ||
"description": "A generic library implementing hot reload for React components without unmounting or losing their state.", | ||
@@ -5,0 +5,0 @@ "main": "modules/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
28277
590