shim() — react Function Reference
Architecture documentation for the shim() function in ReactFiberConfigWithNoTestSelectors.js from the react codebase.
Entity Profile
Dependency Diagram
graph TD b88d5a01_765c_05c8_0fb9_f2f7d869d0ba["shim()"] 25787e83_0820_8747_c91d_5b515dd02433["ReactFiberConfigWithNoTestSelectors.js"] b88d5a01_765c_05c8_0fb9_f2f7d869d0ba -->|defined in| 25787e83_0820_8747_c91d_5b515dd02433 style b88d5a01_765c_05c8_0fb9_f2f7d869d0ba fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/react-reconciler/src/ReactFiberConfigWithNoTestSelectors.js lines 13–19
function shim(...args: any): empty {
throw new Error(
'The current renderer does not support test selectors. ' +
'This error is likely caused by a bug in React. ' +
'Please file an issue.',
);
}
Domain
Subdomains
Source
Frequently Asked Questions
What does shim() do?
shim() is a function in the react codebase, defined in packages/react-reconciler/src/ReactFiberConfigWithNoTestSelectors.js.
Where is shim() defined?
shim() is defined in packages/react-reconciler/src/ReactFiberConfigWithNoTestSelectors.js at line 13.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free