tanstack-vue-table-table-state
This skill builds on @tanstack/table-core#core and getting-started. Read them first for state ownership and Vue construction.
State Mental Model
TanStack Table is primarily a state coordinator. Keep state internal unless another system needs to read, persist, or drive it. Without initialState, atoms, state, or on[State]Change, the table owns every registered slice.
table.baseAtomsare internal writable atoms created from resolved initial state.table.atomsare readonly derived atoms for the active owner of each registered slice.table.storecombines those atoms into one readonly flat store.
The Vue adapter backs atoms with refs/computed values and tracks reactive table options. Atom reads become reactive inside templates, computed, watch, or table.Subscribe; a read cached outside tracking is only a snapshot. State is feature-based, so a missing pagination atom or option means rowPaginationFeature was not registered. Keep features and columns stable; pass reactive data as a ref/computed instead of recreating arrays in table options.