What problem does it solve?
Angular applications with many tables often repeat the same TanStack Table configuration, features, and column conventions. This Skill guides the creation of a shared createTableHook abstraction so teams define defaults, registered components, and typed dependency-injection contexts once instead of duplicating setup across every table.
Core Features & Use Cases
- Shared table hook creation: Build
injectAppTable and createAppColumnHelper with common features like row sorting via tableFeatures.
- Typed DI contexts: Consume
injectTableContext, injectTableCellContext, and injectTableHeaderContext inside registered components instead of prop drilling.
- Correct FlexRender usage: Distinguish Angular component types from plain render functions and know when
flexRenderComponent is actually required.
- Use Case: A dashboard with dozens of tables sharing sorting, styling, and cell components can register them once in an app-level hook, then each feature class simply calls
injectAppTable with its own columns and data.
Quick Start
Ask the AI to create an Angular app-level table hook using createTableHook with shared features and typed cell context injectors for your TanStack Angular tables.