MCPcopy Index your code
hub / github.com/react/react / invalidate

Function invalidate

packages/react-devtools-shared/src/devtools/cache.js:133–136  ·  view source on GitHub ↗
(key: Key)

Source from the content-addressed store, hash-verified

131 },
132
133 invalidate(key: Key): void {
134 const entriesForResource = getEntriesForResource(resource);
135 entriesForResource.delete(key);
136 },
137
138 read(input: Input): Value {
139 // Prevent access outside of render.

Callers

nothing calls this directly

Calls 1

getEntriesForResourceFunction · 0.85

Tested by

no test coverage detected