MCPcopy
hub / github.com/facebook/react / throwTaintViolation

Function throwTaintViolation

packages/react-server/src/ReactFlightServer.js:617–620  ·  view source on GitHub ↗
(message: string)

Source from the content-addressed store, hash-verified

615} = ReactSharedInternals;
616
617function throwTaintViolation(message: string) {
618 // eslint-disable-next-line react-internal/prod-error-codes
619 throw new Error(message);
620}
621
622function cleanupTaintQueue(request: Request): void {
623 const cleanupQueue = request.taintCleanupQueue;

Callers 3

renderModelDestructiveFunction · 0.85
emitTypedArrayChunkFunction · 0.85
emitChunkFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected