HomeDiscoStoreItemTileRating() — react Function Reference
Architecture documentation for the HomeDiscoStoreItemTileRating() function in repro-scope-missing-mutable-range.js from the react codebase.
Entity Profile
Dependency Diagram
graph TD c4b669e0_6295_a6c8_02dd_3ca61fbcb6e7["HomeDiscoStoreItemTileRating()"] 27e5efac_1302_6b80_b9bc_5df464f3440e["repro-scope-missing-mutable-range.js"] c4b669e0_6295_a6c8_02dd_3ca61fbcb6e7 -->|defined in| 27e5efac_1302_6b80_b9bc_5df464f3440e style c4b669e0_6295_a6c8_02dd_3ca61fbcb6e7 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
compiler/packages/babel-plugin-react-compiler/src/__tests__/fixtures/compiler/propagate-scope-deps-hir-fork/repro-scope-missing-mutable-range.js lines 2–11
function HomeDiscoStoreItemTileRating(props) {
const item = useFragment();
let count = 0;
const aggregates = item?.aggregates || [];
aggregates.forEach(aggregate => {
count += aggregate.count || 0;
});
return <Text>{count}</Text>;
}
Domain
Subdomains
Source
Frequently Asked Questions
What does HomeDiscoStoreItemTileRating() do?
HomeDiscoStoreItemTileRating() is a function in the react codebase, defined in compiler/packages/babel-plugin-react-compiler/src/__tests__/fixtures/compiler/propagate-scope-deps-hir-fork/repro-scope-missing-mutable-range.js.
Where is HomeDiscoStoreItemTileRating() defined?
HomeDiscoStoreItemTileRating() is defined in compiler/packages/babel-plugin-react-compiler/src/__tests__/fixtures/compiler/propagate-scope-deps-hir-fork/repro-scope-missing-mutable-range.js at line 2.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free