isReactive() — react Function Reference
Architecture documentation for the isReactive() function in InferReactivePlaces.ts from the react codebase.
Entity Profile
Dependency Diagram
graph TD 35406eee_9521_0419_7a1e_5d1f16da6f89["isReactive()"] 709db791_cb84_4ab6_9847_e4749adb938f["ReactivityMap"] 35406eee_9521_0419_7a1e_5d1f16da6f89 -->|defined in| 709db791_cb84_4ab6_9847_e4749adb938f fddc4da2_1151_8052_c771_8b67085ebeca["inferReactivePlaces()"] fddc4da2_1151_8052_c771_8b67085ebeca -->|calls| 35406eee_9521_0419_7a1e_5d1f16da6f89 74efde51_a311_d84c_0e23_ddafd072e338["find()"] 35406eee_9521_0419_7a1e_5d1f16da6f89 -->|calls| 74efde51_a311_d84c_0e23_ddafd072e338 d17d77ab_7e43_9266_e176_75b6266f6340["has()"] 35406eee_9521_0419_7a1e_5d1f16da6f89 -->|calls| d17d77ab_7e43_9266_e176_75b6266f6340 style 35406eee_9521_0419_7a1e_5d1f16da6f89 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
compiler/packages/babel-plugin-react-compiler/src/Inference/InferReactivePlaces.ts lines 388–396
isReactive(place: Place): boolean {
const identifier =
this.aliasedIdentifiers.find(place.identifier) ?? place.identifier;
const reactive = this.reactive.has(identifier.id);
if (reactive) {
place.reactive = true;
}
return reactive;
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does isReactive() do?
isReactive() is a function in the react codebase, defined in compiler/packages/babel-plugin-react-compiler/src/Inference/InferReactivePlaces.ts.
Where is isReactive() defined?
isReactive() is defined in compiler/packages/babel-plugin-react-compiler/src/Inference/InferReactivePlaces.ts at line 388.
What does isReactive() call?
isReactive() calls 2 function(s): find, has.
What calls isReactive()?
isReactive() is called by 1 function(s): inferReactivePlaces.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free