MCPcopy Create free account
hub / github.com/TanStack/devtools / setPersistOpen

Function setPersistOpen

packages/devtools/src/context/use-devtools-context.ts:114–116  ·  view source on GitHub ↗
(value: boolean)

Source from the content-addressed store, hash-verified

112}
113
114/**
115 * Whether the secondary strip is folded behind the header. Lives on the
116 * persisted store so a reload keeps the height the user folded away.
117 */
118export const createCollapsed = () => {
119 const { state, setState } = createDevtoolsState()

Callers 2

toggleOpenFunction · 0.85
DevToolsFunction · 0.85

Calls 1

setStateFunction · 0.85

Tested by

no test coverage detected