hasHookMap() — react Function Reference
Architecture documentation for the hasHookMap() function in SourceMapMetadataConsumer.js from the react codebase.
Entity Profile
Dependency Diagram
graph TD 31b4a475_0699_69a6_a66b_1b98c50a5785["hasHookMap()"] c91679b7_c93e_6e95_410e_81e24076c30a["SourceMapMetadataConsumer"] 31b4a475_0699_69a6_a66b_1b98c50a5785 -->|defined in| c91679b7_c93e_6e95_410e_81e24076c30a 9d4ba273_e848_2a3f_3413_5c52ec3c7da7["parseSourceAST()"] 9d4ba273_e848_2a3f_3413_5c52ec3c7da7 -->|calls| 31b4a475_0699_69a6_a66b_1b98c50a5785 8363e8e9_bb7f_f116_6160_65e0851ee4a9["_getHookMapForSource()"] 31b4a475_0699_69a6_a66b_1b98c50a5785 -->|calls| 8363e8e9_bb7f_f116_6160_65e0851ee4a9 style 31b4a475_0699_69a6_a66b_1b98c50a5785 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/react-devtools-shared/src/hooks/SourceMapMetadataConsumer.js lines 102–107
hasHookMap(source: ?string): boolean {
if (source == null) {
return false;
}
return this._getHookMapForSource(source) != null;
}
Domain
Subdomains
Calls
Called By
Source
Frequently Asked Questions
What does hasHookMap() do?
hasHookMap() is a function in the react codebase, defined in packages/react-devtools-shared/src/hooks/SourceMapMetadataConsumer.js.
Where is hasHookMap() defined?
hasHookMap() is defined in packages/react-devtools-shared/src/hooks/SourceMapMetadataConsumer.js at line 102.
What does hasHookMap() call?
hasHookMap() calls 1 function(s): _getHookMapForSource.
What calls hasHookMap()?
hasHookMap() is called by 1 function(s): parseSourceAST.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free