@yamada-ui/utils
Advanced tools
Comparing version 0.0.0-dev-20231220072135 to 0.0.0-dev-20231224084558
@@ -47,4 +47,14 @@ import * as React from 'react'; | ||
declare const useCallbackRef: <T extends (...args: any[]) => any>(callback: T | undefined, deps?: React.DependencyList) => T; | ||
/** | ||
* `useUpdateEffect` is a custom hook that skips side effects on the initial render, and only runs them when the dependency array changes. | ||
* | ||
* @see Docs https://yamada-ui.com/hooks/use-update-effect | ||
*/ | ||
declare const useUpdateEffect: (callback: React.EffectCallback, deps: React.DependencyList) => void; | ||
type FunctionReturningPromise = (...args: any[]) => Promise<any>; | ||
/** | ||
* `useAsync` is a custom hook that executes an asynchronous function and tracks its state. | ||
* | ||
* @see Docs https://yamada-ui.com/hooks/use-async | ||
*/ | ||
declare const useAsync: <T extends FunctionReturningPromise>(func: T, deps?: React.DependencyList) => StateFromFunctionReturningPromise<T>; | ||
@@ -51,0 +61,0 @@ type AsyncState<T> = { |
{ | ||
"name": "@yamada-ui/utils", | ||
"version": "0.0.0-dev-20231220072135", | ||
"version": "0.0.0-dev-20231224084558", | ||
"description": "Yamada UI utils", | ||
@@ -22,2 +22,3 @@ "keywords": [ | ||
}, | ||
"homepage": "https://yamada-ui.com", | ||
"repository": { | ||
@@ -24,0 +25,0 @@ "type": "git", |
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
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
315586
3773
1