Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cloudflare/meet
/ useIsServer
Function
useIsServer
app/hooks/useIsServer.ts:3–9 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
1
import
{ useSyncExternalStore } from
'react'
2
3
export
function
useIsServer() {
4
return
useSyncExternalStore(
5
() => () => {},
6
() => false,
7
() => true
8
)
9
}
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected