Jesus sucks
This commit is contained in:
8
backend/frontend/node_modules/@restart/hooks/cjs/useIsInitialRenderRef.d.ts
generated
vendored
Normal file
8
backend/frontend/node_modules/@restart/hooks/cjs/useIsInitialRenderRef.d.ts
generated
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
/// <reference types="react" />
|
||||
/**
|
||||
* Returns ref that is `true` on the initial render and `false` on subsequent renders. It
|
||||
* is StrictMode safe, so will reset correctly if the component is unmounted and remounted.
|
||||
*
|
||||
* This hook *must* be used before any effects that read it's value to be accurate.
|
||||
*/
|
||||
export default function useIsInitialRenderRef(): import("react").MutableRefObject<boolean>;
|
||||
Reference in New Issue
Block a user