resolveFunctionForHotReloading() — react Function Reference
Architecture documentation for the resolveFunctionForHotReloading() function in ReactFiberHotReloading.js from the react codebase.
Entity Profile
Dependency Diagram
graph TD 54379e26_51e2_5baf_65fd_04a04dbf0118["resolveFunctionForHotReloading()"] da68ece0_17b1_3c98_d393_5c830eacd9b2["ReactFiberHotReloading.js"] 54379e26_51e2_5baf_65fd_04a04dbf0118 -->|defined in| da68ece0_17b1_3c98_d393_5c830eacd9b2 a032b50f_d1ac_c367_9f15_394d8f0023c1["updateMemoComponent()"] a032b50f_d1ac_c367_9f15_394d8f0023c1 -->|calls| 54379e26_51e2_5baf_65fd_04a04dbf0118 53f55fda_e2b6_2801_4fbc_525f8828d23d["updateHostRoot()"] 53f55fda_e2b6_2801_4fbc_525f8828d23d -->|calls| 54379e26_51e2_5baf_65fd_04a04dbf0118 ccb6a80e_35f5_7317_a88b_4f1e3140fb94["resolveClassForHotReloading()"] ccb6a80e_35f5_7317_a88b_4f1e3140fb94 -->|calls| 54379e26_51e2_5baf_65fd_04a04dbf0118 a1c5d1f1_a57a_2081_7c6a_c93195ed2162["resolveForwardRefForHotReloading()"] a1c5d1f1_a57a_2081_7c6a_c93195ed2162 -->|calls| 54379e26_51e2_5baf_65fd_04a04dbf0118 style 54379e26_51e2_5baf_65fd_04a04dbf0118 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/react-reconciler/src/ReactFiberHotReloading.js lines 64–79
export function resolveFunctionForHotReloading(type: any): any {
if (__DEV__) {
if (resolveFamily === null) {
// Hot reloading is disabled.
return type;
}
const family = resolveFamily(type);
if (family === undefined) {
return type;
}
// Use the latest known implementation.
return family.current;
} else {
return type;
}
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does resolveFunctionForHotReloading() do?
resolveFunctionForHotReloading() is a function in the react codebase, defined in packages/react-reconciler/src/ReactFiberHotReloading.js.
Where is resolveFunctionForHotReloading() defined?
resolveFunctionForHotReloading() is defined in packages/react-reconciler/src/ReactFiberHotReloading.js at line 64.
What calls resolveFunctionForHotReloading()?
resolveFunctionForHotReloading() is called by 4 function(s): resolveClassForHotReloading, resolveForwardRefForHotReloading, updateHostRoot, updateMemoComponent.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free