finishActivation() — react Function Reference
Architecture documentation for the finishActivation() function in backend.js from the react codebase.
Entity Profile
Dependency Diagram
graph TD 3da6b077_7c08_5076_c836_19ee854ce790["finishActivation()"] 354fe138_8fc9_c8a1_a2a8_b5eba888a4c5["backend.js"] 3da6b077_7c08_5076_c836_19ee854ce790 -->|defined in| 354fe138_8fc9_c8a1_a2a8_b5eba888a4c5 style 3da6b077_7c08_5076_c836_19ee854ce790 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/react-devtools-inline/src/backend.js lines 53–75
function finishActivation(contentWindow: any, bridge: BackendBridge) {
const agent = new Agent(
bridge,
getIfReloadedAndProfiling(),
onReloadAndProfile,
);
onReloadAndProfileFlagsReset();
const hook = contentWindow.__REACT_DEVTOOLS_GLOBAL_HOOK__;
if (hook) {
initBackend(hook, agent, contentWindow, getIsReloadAndProfileSupported());
// Setup React Native style editor if a renderer like react-native-web has injected it.
if (hook.resolveRNStyle) {
setupNativeStyleEditor(
bridge,
agent,
hook.resolveRNStyle,
hook.nativeStyleEditorValidAttributes,
);
}
}
}
Domain
Subdomains
Source
Frequently Asked Questions
What does finishActivation() do?
finishActivation() is a function in the react codebase, defined in packages/react-devtools-inline/src/backend.js.
Where is finishActivation() defined?
finishActivation() is defined in packages/react-devtools-inline/src/backend.js at line 53.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free