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

react-gateway

Package Overview
Dependencies
Maintainers
4
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-gateway - npm Package Compare versions

Comparing version 2.0.3 to 2.0.4

3

lib/Gateway.js

@@ -38,2 +38,3 @@ 'use strict';

Gateway.prototype.componentWillReceiveProps = function componentWillReceiveProps(props) {
this.gatewayRegistry.clearChild(this.props.into);
this.renderIntoGatewayNode(props);

@@ -43,3 +44,3 @@ };

Gateway.prototype.componentWillUnmount = function componentWillUnmount() {
this.gatewayRegistry.removeChild(this.props.into, this.props.children);
this.gatewayRegistry.removeChild(this.props.into);
};

@@ -46,0 +47,0 @@

@@ -42,4 +42,8 @@ 'use strict';

GatewayRegistry.prototype.clearChild = function clearChild(name) {
this._children[name] = null;
};
GatewayRegistry.prototype.removeChild = function removeChild(name) {
this._children[name] = null;
this.clearChild(name);
this._renderContainer(name);

@@ -46,0 +50,0 @@ };

{
"name": "react-gateway",
"version": "2.0.3",
"version": "2.0.4",
"description": "Render React DOM into a new context",

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

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