Skip to content
Source
Sign inSign up
TanStack/cli

fix(create): update the React Table demo to v9 #565

Mergedtannerlinsleymerged 2 commits intomain fromrefs/pull/565/headmerged by tannerlinsley

Showing 5 changed files with 49 additions and 11 deletions (loading 2).

x
0 of 5 viewed, 5 left
5 additions and 0 deletions.changeset/table-compatible-major.mdAdded
View file
@@ -0,0 +1,5 @@
+---
+"@tanstack/create": patch
+---
+​
+Update the generated React Table demo to use the v9 APIs for filtering, sorting, and pagination.
24 additions and 1 deletionpackages/cli/tests-e2e/addons-smoke.spec.tsModified
View file
@@ -5,7 +5,8 @@
test('@blocking creates app with multiple add-ons and renders demo routes', async ({ page }) => {
const fixture = await createReactAppFixture({
appName: 'addons-create-smoke-app',
- addOns: ['shadcn', 'form', 'tanstack-query', 'store'],
+ addOns: ['shadcn', 'form', 'tanstack-query', 'store', 'table'],
+ runQualityGatesChecks: true,
})
const guards = attachRuntimeGuards(page, fixture.url)
​
@@ -21,6 +22,28 @@
await page.goto(`${fixture.url}/demo/tanstack-query`)
await expect(page.getByRole('heading', { name: /TanStack Query/ })).toBeVisible()
​
+ await page.goto(`${fixture.url}/demo/table`)