A framework for building native apps using React
Overall
score
100%
Evaluation — 100%
↑ 1.06xAgent success when using this tile
A mobile product catalog viewer component that efficiently displays a large list of product items with optimized scrolling performance.
Build a React Native component that displays a scrollable list of products. The component should be optimized for performance when displaying thousands of items by implementing list virtualization and providing the list rendering engine with item layout information upfront.
Each product has:
id (string): Unique identifiername (string): Product nameprice (number): Product priceimageUrl (string): Product image URLThe component must be optimized for:
@generates
export interface Product {
id: string;
name: string;
price: number;
imageUrl: string;
}
export interface ProductCatalogViewerProps {
products: Product[];
}
export function ProductCatalogViewer(props: ProductCatalogViewerProps): JSX.Element;Provides mobile UI components and list rendering capabilities.
Install with Tessl CLI
npx tessl i tessl/npm-react-native@1000.0.0docs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10