Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dailydotdev/apps
/ useIsHydrated
Function
useIsHydrated
packages/shared/src/hooks/useIsHydrated.ts:20–22 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
18
* never renders the server value.
19
*/
20
export
function
useIsHydrated(): boolean {
21
return
useSyncExternalStore(subscribe, getSnapshot, getServerSnapshot);
22
}
Callers
4
MainLayoutHeader
Function · 0.90
FeedLayoutProvider
Function · 0.90
useLayoutVariantCookie
Function · 0.90
useLaptopLayout
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected