isMutable() — react Function Reference
Architecture documentation for the isMutable() function in InferReactiveScopeVariables.ts from the react codebase.
Entity Profile
Dependency Diagram
graph TD 11746e9a_2fdf_98bb_bb3c_a63d8b200df2["isMutable()"] f041318d_301f_daad_4198_91d141b3039d["InferReactiveScopeVariables.ts"] 11746e9a_2fdf_98bb_bb3c_a63d8b200df2 -->|defined in| f041318d_301f_daad_4198_91d141b3039d a5b9529f_84bd_279c_4f87_657080b7385f["visitPlace()"] a5b9529f_84bd_279c_4f87_657080b7385f -->|calls| 11746e9a_2fdf_98bb_bb3c_a63d8b200df2 fddc4da2_1151_8052_c771_8b67085ebeca["inferReactivePlaces()"] fddc4da2_1151_8052_c771_8b67085ebeca -->|calls| 11746e9a_2fdf_98bb_bb3c_a63d8b200df2 b474edef_a60d_b132_2ae0_98f6768ec241["findDisjointMutableValues()"] b474edef_a60d_b132_2ae0_98f6768ec241 -->|calls| 11746e9a_2fdf_98bb_bb3c_a63d8b200df2 b0098168_1428_1a79_dc10_829e8e1a5595["visitInstruction()"] b0098168_1428_1a79_dc10_829e8e1a5595 -->|calls| 11746e9a_2fdf_98bb_bb3c_a63d8b200df2 23e95905_7740_9185_1ad6_1a529d6f88ad["recordInstructionDerivations()"] 23e95905_7740_9185_1ad6_1a529d6f88ad -->|calls| 11746e9a_2fdf_98bb_bb3c_a63d8b200df2 3b48551f_7fdf_a2e3_1a73_61107c6532fd["getSetStateCall()"] 3b48551f_7fdf_a2e3_1a73_61107c6532fd -->|calls| 11746e9a_2fdf_98bb_bb3c_a63d8b200df2 77f6c8f4_9a10_4ed4_40d4_5d5f7009db30["inRange()"] 11746e9a_2fdf_98bb_bb3c_a63d8b200df2 -->|calls| 77f6c8f4_9a10_4ed4_40d4_5d5f7009db30 style 11746e9a_2fdf_98bb_bb3c_a63d8b200df2 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
compiler/packages/babel-plugin-react-compiler/src/ReactiveScopes/InferReactiveScopeVariables.ts lines 198–200
export function isMutable(instr: {id: InstructionId}, place: Place): boolean {
return inRange(instr, place.identifier.mutableRange);
}
Domain
Subdomains
Defined In
Calls
Called By
Source
Frequently Asked Questions
What does isMutable() do?
isMutable() is a function in the react codebase, defined in compiler/packages/babel-plugin-react-compiler/src/ReactiveScopes/InferReactiveScopeVariables.ts.
Where is isMutable() defined?
isMutable() is defined in compiler/packages/babel-plugin-react-compiler/src/ReactiveScopes/InferReactiveScopeVariables.ts at line 198.
What does isMutable() call?
isMutable() calls 1 function(s): inRange.
What calls isMutable()?
isMutable() is called by 6 function(s): findDisjointMutableValues, getSetStateCall, inferReactivePlaces, recordInstructionDerivations, visitInstruction, visitPlace.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free