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

Function generatePluginId

packages/devtools/src/context/devtools-context.tsx:99–110  ·  view source on GitHub ↗
(plugin: TanStackDevtoolsPlugin, index: number)

Source from the content-addressed store, hash-verified

97 *
98 * A direct call, not a signal — an effect reacting to a signal runs a microtask
99 * later and every pointer move until then is lost.
100 */
101 paneDragBridge: {
102 handler:
103 | ((pluginId: string, point: { x: number; y: number }) => void)
104 | null
105 }
106}>()
107
108interface ContextProps {
109 children: JSX.Element
110 plugins?: Array<TanStackDevtoolsPlugin>
111 config?: TanStackDevtoolsConfig
112 onSetPlugins?: (
113 setPlugins: (plugins: Array<TanStackDevtoolsPlugin>) => void,

Callers 3

getStateFromLocalStorageFunction · 0.85
updatePluginsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected