MCPcopy
hub / github.com/codeaashu/claude-code / useSetAppState

Function useSetAppState

src/state/AppState.tsx:170–172  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

168 * this hook will never re-render from state changes.
169 */
170export function useSetAppState() {
171 return useAppStore().setState;
172}
173
174/**
175 * Get the store directly (for passing getState/setState to non-React code).

Callers 15

BackgroundHintFunction · 0.85
SessionBackgroundHintFunction · 0.85
CoordinatorTaskPanelFunction · 0.85
StatusLineInnerFunction · 0.85
ModelPickerFunction · 0.85
BridgeDialogFunction · 0.85
ThemePickerFunction · 0.85
PermissionPromptFunction · 0.85
PermissionRuleListFunction · 0.85

Calls 1

useAppStoreFunction · 0.85

Tested by

no test coverage detected