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 f83ada02_a510_18ea_2725_716aaea939e1["HomeDiscoStoreItemTileRating()"] a84326bb_7368_b938_6f0c_ff6f7e66cf69["repro-scope-missing-mutable-range.js"] f83ada02_a510_18ea_2725_716aaea939e1 -->|defined in| a84326bb_7368_b938_6f0c_ff6f7e66cf69 style f83ada02_a510_18ea_2725_716aaea939e1 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
compiler/packages/babel-plugin-react-compiler/src/__tests__/fixtures/compiler/repro-scope-missing-mutable-range.js lines 1–10
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/repro-scope-missing-mutable-range.js.
Where is HomeDiscoStoreItemTileRating() defined?
HomeDiscoStoreItemTileRating() is defined in compiler/packages/babel-plugin-react-compiler/src/__tests__/fixtures/compiler/repro-scope-missing-mutable-range.js at line 1.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free