1 | /// <reference types="react" />
|
2 | /**
|
3 | * Returns ref that is `true` on the initial render and `false` on subsequent renders. It
|
4 | * is StrictMode safe, so will reset correctly if the component is unmounted and remounted.
|
5 | *
|
6 | * This hook *must* be used before any effects that read it's value to be accurate.
|
7 | */
|
8 | export default function useIsInitialRenderRef(): import("react").MutableRefObject<boolean>;
|