@deephaven/react-hooks
Advanced tools
Comparing version 0.4.1-modules.0 to 0.5.0
@@ -1,3 +0,3 @@ | ||
export { default as usePrevious } from "./usePrevious.js"; | ||
export { default as useForwardedRef } from "./useForwardedRef.js"; | ||
export { default as usePrevious } from './usePrevious'; | ||
export { default as useForwardedRef } from './useForwardedRef'; | ||
//# sourceMappingURL=index.js.map |
@@ -12,3 +12,3 @@ import { useEffect, useRef } from 'react'; | ||
var innerRef = useRef(null); | ||
useEffect(() => { | ||
useEffect(function () { | ||
if (!ref) return; | ||
@@ -15,0 +15,0 @@ |
@@ -5,3 +5,3 @@ import { useEffect, useRef } from 'react'; // From https://reactjs.org/docs/hooks-faq.html#how-to-get-the-previous-props-or-state | ||
var ref = useRef(); | ||
useEffect(() => { | ||
useEffect(function () { | ||
ref.current = value; | ||
@@ -8,0 +8,0 @@ }); |
{ | ||
"name": "@deephaven/react-hooks", | ||
"version": "0.4.1-modules.0+babe987", | ||
"version": "0.5.0", | ||
"description": "Deephaven React hooks library", | ||
"author": "Deephaven Data Labs LLC", | ||
"license": "Apache-2.0", | ||
"type": "module", | ||
"repository": { | ||
@@ -41,3 +40,3 @@ "type": "git", | ||
"@babel/core": "7.12.3", | ||
"@deephaven/tsconfig": "^0.4.1-modules.0+babe987", | ||
"@deephaven/tsconfig": "^0.5.0", | ||
"@types/react": "^16.14.8", | ||
@@ -56,3 +55,3 @@ "cross-env": "^7.0.2", | ||
}, | ||
"gitHead": "babe9873983923869be98e4943bfb173a7097641" | ||
"gitHead": "520f49c8774ee88411308fd19661086f5a3962b3" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
0
53565
No