Home / Function/ checkConditions() — react Function Reference

checkConditions() — react Function Reference

Architecture documentation for the checkConditions() function in utils.js from the react codebase.

Entity Profile

Dependency Diagram

graph TD
  3c81519b_a855_b45e_b91b_c1dcaaf5d5b9["checkConditions()"]
  df34d6bc_88ee_9d70_cb1b_fbe686dca6da["utils.js"]
  3c81519b_a855_b45e_b91b_c1dcaaf5d5b9 -->|defined in| df34d6bc_88ee_9d70_cb1b_fbe686dca6da
  e6150c94_d3e0_7067_c70a_ffbf16bb6299["OpenSymbolicatedSourceInEditorButton()"]
  e6150c94_d3e0_7067_c70a_ffbf16bb6299 -->|calls| 3c81519b_a855_b45e_b91b_c1dcaaf5d5b9
  23b98639_67b7_42eb_07be_4e589eb76dda["ActualOpenInEditorButton()"]
  23b98639_67b7_42eb_07be_4e589eb76dda -->|calls| 3c81519b_a855_b45e_b91b_c1dcaaf5d5b9
  style 3c81519b_a855_b45e_b91b_c1dcaaf5d5b9 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/react-devtools-shared/src/devtools/views/Editor/utils.js lines 12–15

export function checkConditions(
  editorURL: string,
  source: ReactFunctionLocation | ReactCallSite,
): {url: URL | null, shouldDisableButton: boolean} {

Domain

Subdomains

Frequently Asked Questions

What does checkConditions() do?
checkConditions() is a function in the react codebase, defined in packages/react-devtools-shared/src/devtools/views/Editor/utils.js.
Where is checkConditions() defined?
checkConditions() is defined in packages/react-devtools-shared/src/devtools/views/Editor/utils.js at line 12.
What calls checkConditions()?
checkConditions() is called by 2 function(s): ActualOpenInEditorButton, OpenSymbolicatedSourceInEditorButton.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free