data-tables

Create reusable React table components with pagination, sorting, filtering, and URL-persisted filters.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/endriwmsi/hub-ln --skill data-tables-endriwmsi
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: data-tables
Source: https://github.com/endriwmsi/hub-ln/tree/main/.agent/skills/data-tables
Command: npx skills add https://github.com/endriwmsi/hub-ln --skill data-tables-endriwmsi

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Data tables are essential for presenting large datasets with clarity, but building reusable, scalable components that handle pagination, filtering, and server interactions can be time-consuming. This Skill provides a solid foundation to implement consistent, feature-rich tables across React apps.

Core Features & Use Cases

  • Pagination & Sorting: Navigate large datasets efficiently with flexible paging and sorting strategies.
  • URL-Persisted Filters: Keep user filters in the URL to preserve state across reloads and shareable links.
  • Use Case: Ideal for admin dashboards and analytics pages where data density requires fast, reliable table interactions.

Quick Start

Create a data table using the provided dataset and ensure URL-persistent filters.

Frequently Asked Questions about data-tables

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build a React data table with URL-persisted filters?

You can build a React data table with URL-persisted filters by using react-table for state management and react-query for data fetching, encoding pagination, sorting, and filtering directly into the URL to preserve state across reloads and shareable links.

How do I maintain table filter state in the URL across page navigations?

Maintaining table filter state in the URL requires storing pagination, sorting, and filter parameters as URL query parameters, ensuring that navigating away and returning preserves the exact table configuration without relying on local component state.

Can I use react-query and react-table together for server-side data fetching?

Yes, you can use react-query and react-table together for server-side data fetching by leveraging react-query to handle asynchronous server requests and react-table to manage the rendering, pagination, sorting, and row selection logic.

What is the best way to implement reusable data tables for admin dashboards?

The best way to implement reusable data tables for admin dashboards is creating a component foundation that handles pagination, filtering, and server interactions with sensible defaults and error handling, ensuring consistent behavior across data-heavy analytics interfaces.

Does this approach support row selection and sorting in data-heavy analytics UIs?

Yes, this approach supports row selection and sorting in data-heavy analytics UIs by utilizing react-table's extensible hooks to manage selection state and column sorting, paired with react-query to efficiently fetch and render updated datasets.

When do I need URL-based state persistence for React table components?

You need URL-based state persistence for React table components when building admin dashboards or analytics pages where users require stable paging, quick filtering, and the ability to share or bookmark specific data views without losing their filter context.