Skip to content

Commit f72e516

Browse files
riccardoperraKevinVandyautofix-ci[bot]
authored
fix: Add realtime (w/ fake data) trading table example (#6561)
* perf: revisit angular adapter to improve memory usage and flexrender dirty checking * trading grid example * perf: revisit angular adapter to improve memory usage and flexrender dirty checking * perf: revisit angular adapter to improve memory usage and flexrender dirty checking * update example * still some improvements * align examples * Add realtime-trading example for vue, svelte, octane, alpine, ember Angular,React,Solid improvements * Default to virtual scrolling for larger trading datasets * update README.md * ci: apply automated fixes * rename * ci: apply automated fixes * ci: apply automated fixes (attempt 2/3) * ci: apply automated fixes (attempt 3/3) * refactor: optimize input/output handling in flex render components - Replace `for...in` loops with `Object.keys()` for better performance and clarity. - Simplify the rendering logic by removing unnecessary checks and parameters. - Ensure consistent handling of injectors across component rendering. * Refactor table implementation and update examples * Refactor project structure and update related implementations * ci: apply automated fixes * Replace TanStack store atoms with native Vue refs * ci: apply automated fixes * Prevent text selection in realtime trading grids * ci: apply automated fixes * update packages and fix e2e tests * fix e2e tests and remove virtualiztion from examples without dedicated ts virtual package * fix tests --------- Co-authored-by: Kevin Van Cott <kevinvandy656@gmail.com> Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
1 parent 3bfc1bf commit f72e516

775 files changed

Lines changed: 61479 additions & 6945 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.changeset/fancy-times-jog.md‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@tanstack/angular-table': patch
3+
---
4+
5+
improve flexRender instance reuse and reduce adapter allocations
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@tanstack/table-core': patch
3+
---
4+
5+
Skip missing core rows when rebuilding a worker row-model payload so stale worker results cannot crash the table

‎AGENTS.md‎

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,19 @@ human-authored work.
88
Keep every change focused on one topic. Understand and verify all generated
99
code, run the required checks, and provide a concise pull request description
1010
that follows the repository template.
11+
12+
## Packages that cannot be upgraded yet
13+
14+
Leave these pins alone during routine dependency bumps. They currently break
15+
Ember, the Svelte kitchen-sink types, or are intentionally deferred.
16+
17+
- **TypeScript** — keep `6.0.3`. Do not bump it as part of a general upgrade.
18+
- **Babel 7** — Ember is not compatible with Babel 8. In `packages/ember-table`
19+
and every `examples/ember/*` app, keep `@babel/core`,
20+
`@babel/plugin-transform-runtime`, `@babel/plugin-transform-typescript`, and
21+
`@babel/runtime` at `7.29.7`. `@rollup/plugin-babel` `7.1.0` is the Rollup
22+
plugin version, not Babel itself.
23+
- **`@dnd-kit/abstract` and `@dnd-kit/helpers`** — keep `^0.2.3` in
24+
`examples/svelte/kitchen-sink-shadcn`. `@dnd-kit-svelte/svelte@0.1.6` still
25+
depends on the 0.2.x line. Bumping to 0.5.x installs a second copy, and
26+
TypeScript treats those private-field types as incompatible.

‎examples/alpine/aggregation/package.json‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,15 @@
1212
"test:e2e": "PLAYWRIGHT_TEST_DIR=$PWD/tests/e2e playwright test --config ../../../playwright.config.ts"
1313
},
1414
"dependencies": {
15-
"@faker-js/faker": "^10.5.0",
15+
"@faker-js/faker": "^10.6.0",
1616
"@tanstack/alpine-table": "^9.2.3",
17-
"alpinejs": "^3.16.1"
17+
"alpinejs": "^3.16.3"
1818
},
1919
"devDependencies": {
20+
"@rolldown/binding-wasm32-wasi": "~1.2.4",
2021
"@rollup/plugin-replace": "^6.0.3",
2122
"@types/alpinejs": "^3.13.11",
2223
"typescript": "6.0.3",
23-
"vite": "^8.2.1"
24+
"vite": "^8.2.2"
2425
}
2526
}

‎examples/alpine/basic-app-table/package.json‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,13 @@
1313
},
1414
"dependencies": {
1515
"@tanstack/alpine-table": "^9.2.3",
16-
"alpinejs": "^3.16.1"
16+
"alpinejs": "^3.16.3"
1717
},
1818
"devDependencies": {
19+
"@rolldown/binding-wasm32-wasi": "~1.2.4",
1920
"@rollup/plugin-replace": "^6.0.3",
2021
"@types/alpinejs": "^3.13.11",
2122
"typescript": "6.0.3",
22-
"vite": "^8.2.1"
23+
"vite": "^8.2.2"
2324
}
2425
}

‎examples/alpine/basic-create-table/package.json‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,15 @@
1212
"test:e2e": "PLAYWRIGHT_TEST_DIR=$PWD/tests/e2e playwright test --config ../../../playwright.config.ts"
1313
},
1414
"dependencies": {
15-
"@faker-js/faker": "^10.5.0",
15+
"@faker-js/faker": "^10.6.0",
1616
"@tanstack/alpine-table": "^9.2.3",
17-
"alpinejs": "^3.16.1"
17+
"alpinejs": "^3.16.3"
1818
},
1919
"devDependencies": {
20+
"@rolldown/binding-wasm32-wasi": "~1.2.4",
2021
"@rollup/plugin-replace": "^6.0.3",
2122
"@types/alpinejs": "^3.13.11",
2223
"typescript": "6.0.3",
23-
"vite": "^8.2.1"
24+
"vite": "^8.2.2"
2425
}
2526
}

‎examples/alpine/basic-dynamic-columns/package.json‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,15 @@
1212
"test:e2e": "PLAYWRIGHT_TEST_DIR=$PWD/tests/e2e playwright test --config ../../../playwright.config.ts"
1313
},
1414
"dependencies": {
15-
"@faker-js/faker": "^10.5.0",
15+
"@faker-js/faker": "^10.6.0",
1616
"@tanstack/alpine-table": "^9.2.3",
17-
"alpinejs": "^3.16.1"
17+
"alpinejs": "^3.16.3"
1818
},
1919
"devDependencies": {
20+
"@rolldown/binding-wasm32-wasi": "~1.2.4",
2021
"@rollup/plugin-replace": "^6.0.3",
2122
"@types/alpinejs": "^3.13.11",
2223
"typescript": "6.0.3",
23-
"vite": "^8.2.1"
24+
"vite": "^8.2.2"
2425
}
2526
}

‎examples/alpine/basic-external-atoms/package.json‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,16 @@
1212
"test:e2e": "PLAYWRIGHT_TEST_DIR=$PWD/tests/e2e playwright test --config ../../../playwright.config.ts"
1313
},
1414
"dependencies": {
15-
"@faker-js/faker": "^10.5.0",
15+
"@faker-js/faker": "^10.6.0",
1616
"@tanstack/alpine-table": "^9.2.3",
1717
"@tanstack/store": "^0.11.1",
18-
"alpinejs": "^3.16.1"
18+
"alpinejs": "^3.16.3"
1919
},
2020
"devDependencies": {
21+
"@rolldown/binding-wasm32-wasi": "~1.2.4",
2122
"@rollup/plugin-replace": "^6.0.3",
2223
"@types/alpinejs": "^3.13.11",
2324
"typescript": "6.0.3",
24-
"vite": "^8.2.1"
25+
"vite": "^8.2.2"
2526
}
2627
}

‎examples/alpine/basic-external-state/package.json‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,15 @@
1212
"test:e2e": "PLAYWRIGHT_TEST_DIR=$PWD/tests/e2e playwright test --config ../../../playwright.config.ts"
1313
},
1414
"dependencies": {
15-
"@faker-js/faker": "^10.5.0",
15+
"@faker-js/faker": "^10.6.0",
1616
"@tanstack/alpine-table": "^9.2.3",
17-
"alpinejs": "^3.16.1"
17+
"alpinejs": "^3.16.3"
1818
},
1919
"devDependencies": {
20+
"@rolldown/binding-wasm32-wasi": "~1.2.4",
2021
"@rollup/plugin-replace": "^6.0.3",
2122
"@types/alpinejs": "^3.13.11",
2223
"typescript": "6.0.3",
23-
"vite": "^8.2.1"
24+
"vite": "^8.2.2"
2425
}
2526
}

‎examples/alpine/cell-selection/package.json‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,16 @@
1212
"test:e2e": "PLAYWRIGHT_TEST_DIR=$PWD/tests/e2e playwright test --config ../../../playwright.config.ts"
1313
},
1414
"dependencies": {
15-
"@faker-js/faker": "^10.5.0",
15+
"@faker-js/faker": "^10.6.0",
1616
"@tanstack/alpine-table": "^9.2.3",
1717
"@tanstack/hotkeys": "^0.8.0",
18-
"alpinejs": "^3.16.1"
18+
"alpinejs": "^3.16.3"
1919
},
2020
"devDependencies": {
21+
"@rolldown/binding-wasm32-wasi": "~1.2.4",
2122
"@rollup/plugin-replace": "^6.0.3",
2223
"@types/alpinejs": "^3.13.11",
2324
"typescript": "6.0.3",
24-
"vite": "^8.2.1"
25+
"vite": "^8.2.2"
2526
}
2627
}

0 commit comments

Comments
 (0)