You now know how to design a data table.
Architecture: Headless logic + composable UI components.
Sorting: Click to toggle asc/desc. Multi-column with Shift.
Filtering: Column filters + global search. Debounce input.
Large data: Pagination for server-side. Virtualization for client-side.
Selection: Set-based state. Handle select all for visible rows.
Accessibility: Semantic table markup, aria-sort, keyboard navigation.
Interview tip: Discuss client vs server operations based on data size.