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

react-disposable-modal

Package Overview
Dependencies
Maintainers
2
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-disposable-modal - npm Package Compare versions

Comparing version 0.2.3 to 0.2.4

8

lib/disposable-modal.js

@@ -106,2 +106,10 @@ "use strict";

}
}, {
key: "componentWillUnmount",
value: function componentWillUnmount() {
if (this.parentContainer) {
document.body.removeChild(this.parentContainer);
this.parentContainer = null;
}
}
}]);

@@ -108,0 +116,0 @@

2

package.json
{
"name": "react-disposable-modal",
"version": "0.2.3",
"version": "0.2.4",
"description": "React-disposable-modal is a reactive API for building modal components in React.",

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

@@ -50,2 +50,9 @@ import React from "react";

}
componentWillUnmount() {
if(this.parentContainer) {
document.body.removeChild(this.parentContainer)
this.parentContainer = null
}
}
}

@@ -52,0 +59,0 @@

Sorry, the diff of this file is not supported yet

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