tanstack-ember-table-table-state
Installation
SKILL.md
This skill builds on @tanstack/table-core#core and getting-started. Keep state internal unless another part of the application must read, persist, validate, or drive a slice.
State Surfaces
State exists only for registered features:
table.baseAtomsare the table's internal writable atoms.table.atomsare readonly, ownership-aware atoms for each registered slice.table.store.stateexposes the current flat state.- Feature methods such as
setSorting,setPageSize, androw.toggleSelected()are the preferred write path.
Ember's reactivity feature bridges these reads into Glimmer tracking. There is no table.Subscribe, no selector argument to useTable, and no need to subscribe during rendering. Read the relevant API inside a template-consumed getter:
get rows() {
return this.table.getRowModel().rows
}