MCPcopy 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

1import { useSyncExternalStore } from 'react'
2
3export 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