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

@garage-panda/use-await-dom-render

Package Overview
Dependencies
Maintainers
3
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@garage-panda/use-await-dom-render - npm Package Compare versions

Comparing version 0.0.6 to 0.0.7

9

lib/useAwaitDomRender.js

@@ -25,4 +25,2 @@ "use strict";

react_1.default.useEffect(function () {
if (updatesCount === 0)
return;
var timeout = setTimeout(function () {

@@ -35,9 +33,2 @@ setLoaded();

}, [updatesCount]);
react_1.default.useEffect(function () {
setTimeout(function () {
if (updatesCount === 0) {
setLoaded();
}
}, waitTimeMs);
}, []);
var startWait = react_1.default.useCallback(function (targetNode) {

@@ -44,0 +35,0 @@ setUpdatesCount(0);

2

package.json
{
"name": "@garage-panda/use-await-dom-render",
"version": "0.0.6",
"version": "0.0.7",
"description": "React hook that is used to await all DOM elements inside a node to be rendered",

@@ -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