Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-hot-api

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-hot-api - npm Package Compare versions

Comparing version 0.4.1 to 0.4.2

10

dist/ReactHotAPI.js

@@ -217,9 +217,5 @@ (function webpackUniversalModuleDefinition(root, factory) {

do {
Object.getOwnPropertyNames(freshPrototype).forEach(function (key) {
storedPrototype[key] = freshPrototype[key];
});
freshPrototype = Object.getPrototypeOf(freshPrototype);
} while (freshPrototype && !freshPrototype.hasOwnProperty('setState'));
Object.getOwnPropertyNames(freshPrototype).forEach(function (key) {
storedPrototype[key] = freshPrototype[key];
});
}

@@ -226,0 +222,0 @@

@@ -43,9 +43,5 @@ 'use strict';

do {
Object.getOwnPropertyNames(freshPrototype).forEach(function (key) {
storedPrototype[key] = freshPrototype[key];
});
freshPrototype = Object.getPrototypeOf(freshPrototype);
} while (freshPrototype && !freshPrototype.hasOwnProperty('setState'));
Object.getOwnPropertyNames(freshPrototype).forEach(function (key) {
storedPrototype[key] = freshPrototype[key];
});
}

@@ -52,0 +48,0 @@

{
"name": "react-hot-api",
"version": "0.4.1",
"version": "0.4.2",
"description": "A generic library implementing hot reload for React components without unmounting or losing their state.",

@@ -5,0 +5,0 @@ "main": "modules/index.js",

@@ -8,3 +8,3 @@ React Hot API

This library drives React hot-reload magic of **[react-hot-loader](https://github.com/gaearon/react-hot-loader)** but is not tied to Webpack itself, so alternative build systems that support hot-reloading individual modules can use it to implement **[live-editing for React components](http://gaearon.github.io/react-hot-loader/)**.
This library drives React hot-reload magic of **[react-hot-loader](https://github.com/gaearon/react-hot-loader)** but is not tied to Webpack itself, so alternative build systems that support hot-reloading individual modules can use it to implement **[live-editing for React components](http://gaearon.github.io/react-hot-loader/)**. For example, you can use this to **[integrate hot reloading into an atom-shell application](https://github.com/BenoitZugmeyer/chwitt-react/blob/2d62184986c7c183955dcb607dba5ceda70a2221/bootstrap-jsx.js#L33)**.

@@ -11,0 +11,0 @@ **[See the video.](https://vimeo.com/100010922)**

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc