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

Interface ContextProps

packages/devtools/src/context/devtools-context.tsx:82–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80 setStore: Setter<DevtoolsStore>
81 /**
82 * Swap the layout tree wholesale.
83 *
84 * Needed because a Solid store *merges* object nodes rather than replacing
85 * them: writing the layout through `setStore` leaves behind keys the old shape
86 * had and the new one does not. Closing one of three panes would keep the third
87 * child, so the layout never collapsed and the surviving pane never grew.
88 */
89 replaceLayout: (next: DevtoolsStore['state']['layout']) => void
90 /**
91 * Where the Plugins strip hands a drag over to the workspace.
92 *

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected