Skip to main content
Manusで任意のスキルを実行
ワンクリックで

vue-compose-with-tanstack-query

Server-side / async data flow for `@tanstack/vue-table` v9 + `@tanstack/vue-query`. Key the `useQuery` query on the table state that drives the request (pagination + sorting + filters). Set `manualPagination` / `manualSorting` / `manualFiltering` for slices the server owns. Drop the matching `rowModels` factory (don't ship `paginatedRowModel` when the server paginates). Pass `rowCount` so `table.getPageCount()` works without all rows in memory. Pass `placeholderData: keepPreviousData` to avoid a "0 rows flash" between pages. The cleanest wiring uses external `createAtom`s + `options.atoms` so the table writes through to the atom and the query refetches with no `on[State]Change` plumbing. The canonical Vue example is at `examples/vue/with-tanstack-query/`.

スター28,079
フォーク3,522
更新日2026年6月5日 18:39
SKILL.md
readonly