shim() — react Function Reference
Architecture documentation for the shim() function in ReactFiberConfigWithNoScopes.js from the react codebase.
Entity Profile
Dependency Diagram
graph TD e6fb6816_1082_79a9_3184_8c37c38f42e2["shim()"] 6c22794a_7635_822d_d531_4d19a1fb3c14["ReactFiberConfigWithNoScopes.js"] e6fb6816_1082_79a9_3184_8c37c38f42e2 -->|defined in| 6c22794a_7635_822d_d531_4d19a1fb3c14 style e6fb6816_1082_79a9_3184_8c37c38f42e2 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/react-reconciler/src/ReactFiberConfigWithNoScopes.js lines 13–19
function shim(...args: any): empty {
throw new Error(
'The current renderer does not support React Scopes. ' +
'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/ReactFiberConfigWithNoScopes.js.
Where is shim() defined?
shim() is defined in packages/react-reconciler/src/ReactFiberConfigWithNoScopes.js at line 13.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free