tanstack-preact-table-create-table-hook

Installation
SKILL.md

This skill builds on @tanstack/table-core#core, getting-started, and table-state. Use the app hook for repeated conventions; one-off tables should stay with useTable.

Setup

import {
  createTableHook,
  rowSelectionFeature,
  tableFeatures,
} from '@tanstack/preact-table'

export const { createAppColumnHelper, useAppTable, useTableContext } =
  createTableHook({
    features: tableFeatures({ rowSelectionFeature }),
    getRowId: (row: { id: string }) => row.id,
  })

Core Patterns

Installs
3
First Seen
Aug 10, 2026