MCPcopy
hub / github.com/twilio/twilio-video-app-react / useAppState

Function useAppState

src/state/index.tsx:94–100  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

92}
93
94export function useAppState() {
95 const context = useContext(StateContext);
96 if (!context) {
97 throw new Error('useAppState must be used within the AppStateProvider');
98 }
99 return context;
100}

Callers 15

VideoAppFunction · 0.90
IntroContainerFunction · 0.90
UserMenuFunction · 0.90
AudioOutputListFunction · 0.90
LoginPageFunction · 0.90
ConnectionOptionsDialogFunction · 0.90
AudioTrackFunction · 0.90
PreJoinScreensFunction · 0.90
DeviceSelectionScreenFunction · 0.90
SettingsMenuFunction · 0.90
useGetPreflightTokensFunction · 0.90
RoomNameScreenFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected