MCPcopy Index your code
hub / github.com/TanStack/devtools / setConfig

Method setConfig

packages/devtools/src/core.ts:104–116  ·  view source on GitHub ↗
(config: Partial<TanStackDevtoolsInit>)

Source from the content-addressed store, hash-verified

102 }
103
104 setConfig(config: Partial<TanStackDevtoolsInit>) {
105 this.#config = {
106 ...this.#config,
107 ...config,
108 }
109 if (config.plugins) {
110 this.#plugins = config.plugins
111 // Update the reactive store if mounted
112 if (this.#state === 'mounted' && this.#setPlugins) {
113 this.#setPlugins(config.plugins)
114 }
115 }
116 }
117}
118
119export type { ClientEventBusConfig }

Callers 6

A11yIssueListFunction · 0.80
TanStackDevtoolsFunction · 0.80
TanStackDevtoolsFunction · 0.80
SolidDevtoolsCoreFunction · 0.80
constructorMethod · 0.80
updateMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected