We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
useIsInitialMount
1 parent 8c06d46 commit a9be060Copy full SHA for a9be060
1 file changed
src/hooks/utils/useIsInitialMount.ts
@@ -14,5 +14,6 @@ export function useIsInitialMount(): boolean {
14
}
15
}, [])
16
17
+ // eslint-disable-next-line react-hooks/refs
18
return isInitialMountRef.current
19
0 commit comments