Socket
Socket
Sign inDemoInstall

react-useportal

Package Overview
Dependencies
8
Maintainers
1
Versions
49
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.41 to 0.1.42

2

dist/usePortal.js

@@ -16,2 +16,3 @@ "use strict";

}, []);
// if we're not on the browser, don't continue
if (!isBrowser.current)

@@ -31,3 +32,2 @@ return Object.assign([emptyFunction, emptyFunction, false, emptyFunction], {

});
// const [isClient, setIsClient] = useState(process.browser)
const [isOpen, makeOpen] = react_1.useState(defaultIsOpen);

@@ -34,0 +34,0 @@ const open = react_1.useRef(isOpen);

{
"name": "react-useportal",
"version": "0.1.41",
"version": "0.1.42",
"homepage": "https://codesandbox.io/s/w6jp7z4pkk",

@@ -5,0 +5,0 @@ "main": "dist/usePortal.js",

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc