Home / Function/ unsupportedLanguageFeature() — react Function Reference

unsupportedLanguageFeature() — react Function Reference

Architecture documentation for the unsupportedLanguageFeature() function in TypeErrors.ts from the react codebase.

Entity Profile

Dependency Diagram

graph TD
  30ec2474_aaf0_f8e7_9820_34b266dc18e0["unsupportedLanguageFeature()"]
  8086dd94_cb7f_b871_d873_325159c25b69["TypeErrors.ts"]
  30ec2474_aaf0_f8e7_9820_34b266dc18e0 -->|defined in| 8086dd94_cb7f_b871_d873_325159c25b69
  d530521b_d20e_08a8_4bec_1170867678c4["mapType()"]
  d530521b_d20e_08a8_4bec_1170867678c4 -->|calls| 30ec2474_aaf0_f8e7_9820_34b266dc18e0
  32d9a46d_2c9f_4d15_f8fb_432c549e02fa["diff()"]
  32d9a46d_2c9f_4d15_f8fb_432c549e02fa -->|calls| 30ec2474_aaf0_f8e7_9820_34b266dc18e0
  style 30ec2474_aaf0_f8e7_9820_34b266dc18e0 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

compiler/packages/babel-plugin-react-compiler/src/Flood/TypeErrors.ts lines 11–19

export function unsupportedLanguageFeature(
  desc: string,
  loc: SourceLocation,
): never {
  CompilerError.throwInvalidJS({
    reason: `Typedchecker does not currently support language feature: ${desc}`,
    loc,
  });
}

Domain

Subdomains

Called By

Frequently Asked Questions

What does unsupportedLanguageFeature() do?
unsupportedLanguageFeature() is a function in the react codebase, defined in compiler/packages/babel-plugin-react-compiler/src/Flood/TypeErrors.ts.
Where is unsupportedLanguageFeature() defined?
unsupportedLanguageFeature() is defined in compiler/packages/babel-plugin-react-compiler/src/Flood/TypeErrors.ts at line 11.
What calls unsupportedLanguageFeature()?
unsupportedLanguageFeature() is called by 2 function(s): diff, mapType.

Analyze Your Own Codebase

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

Try Supermodel Free