tessl install tessl/npm-types--react@19.1.0TypeScript definitions for React, the popular JavaScript library for building user interfaces
Agent Success
Agent success rate when using this tile
80%
Improvement
Agent success rate improvement when using this tile compared to baseline
1.48x
Baseline
Agent success rate without this tile
54%
A React component library for rendering large datasets with optimized performance using memoization techniques.
name, email, and age, and a search term "john", the component filters and displays only matching users without unnecessary re-computation @testage values, the component calculates and displays the average age only when the data array changes @testtheme prop), the statistics are not recalculated @test@generates
import { FC } from 'react';
export interface User {
id: number;
name: string;
email: string;
age: number;
}
export interface DataGridProps {
data: User[];
searchTerm: string;
onDelete: (id: number) => void;
theme?: 'light' | 'dark';
}
/**
* A performance-optimized data grid component that displays user data
* with filtering capabilities and computed statistics.
*
* The component efficiently handles large datasets by memoizing expensive
* computations and stabilizing callback references.
*/
export const DataGrid: FC<DataGridProps>;Provides React hooks and component functionality for building the data grid with performance optimizations.
@satisfied-by