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

Function getSettings

packages/devtools/src/context/devtools-context.tsx:91–97  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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
93 * child, so the layout never collapsed and the surviving pane never grew.
94 */
95 replaceLayout: (next: DevtoolsStore['state']['layout']) => void
96 /**
97 * Where the Plugins strip hands a drag over to the workspace.
98 *
99 * A mutable holder on the context rather than a module-level variable: this
100 * package ships several bundles, so two components can end up holding different

Callers 1

Calls 2

getStorageItemFunction · 0.90
tryParseJsonFunction · 0.90

Tested by

no test coverage detected