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

Function shouldTransform

packages/devtools-vite/src/inject-source.ts:53–90  ·  view source on GitHub ↗

* Check whether a JSXOpeningElement should receive `data-tsd-source`.

(
  node: JSXOpeningElement,
  propsName: string | null,
  ignorePatterns: Array<string | RegExp>,
)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

processFunctionFunction · 0.85

Calls 2

matcherFunction · 0.90
getNameOfElementFunction · 0.85

Tested by

no test coverage detected