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 destroy?: (pluginId: string) => void
81}
82export const DevtoolsContext = createContext<{
83 store: DevtoolsStore
84 setStore: (
85 updater: (prev: DevtoolsStore) => DevtoolsStore | Partial<DevtoolsStore>,
86 ) => void
87 /**
88 * Swap the layout tree wholesale.
89 *
90 * Needed because a Solid store *merges* object nodes rather than replacing
91 * them: writing the layout through `setStore` leaves behind keys the old shape
92 * had and the new one does not. Closing one of three panes would keep the third

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected