Home / Function/ check() — react Function Reference

check() — react Function Reference

Architecture documentation for the check() function in flow-ci.js from the react codebase.

Entity Profile

Dependency Diagram

graph TD
  6ca5b94a_145e_616f_7894_3ffe055c7488["check()"]
  2aa599c9_657a_7e17_bf48_5dcc8a85afd3["flow-ci.js"]
  6ca5b94a_145e_616f_7894_3ffe055c7488 -->|defined in| 2aa599c9_657a_7e17_bf48_5dcc8a85afd3
  style 6ca5b94a_145e_616f_7894_3ffe055c7488 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

scripts/tasks/flow-ci.js lines 17–30

async function check(shortName) {
  if (shortName == null) {
    throw new Error('Expected an inlinedHostConfig shortName');
  }
  const rendererInfo = inlinedHostConfigs.find(
    config => config.shortName === shortName
  );
  if (rendererInfo == null) {
    throw new Error(`Could not find inlinedHostConfig for ${shortName}`);
  }
  if (rendererInfo.isFlowTyped) {
    await runFlow(rendererInfo.shortName, ['check']);
  }
}

Domain

Subdomains

Frequently Asked Questions

What does check() do?
check() is a function in the react codebase, defined in scripts/tasks/flow-ci.js.
Where is check() defined?
check() is defined in scripts/tasks/flow-ci.js at line 17.

Analyze Your Own Codebase

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

Try Supermodel Free