Skip to content

Commit 8b74909

Browse files
committed
Merge remote-tracking branch 'origin/feat/signal-feature-interoperability-adapters' into feat/signal-feature-native
2 parents 18ddfbb + b5086d5 commit 8b74909

778 files changed

Lines changed: 3585 additions & 1847 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.

docs/config.json

Lines changed: 98 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,6 @@
2121
"label": "Installation",
2222
"to": "installation"
2323
},
24-
{
25-
"label": "Migrating to V8",
26-
"to": "guide/migrating"
27-
},
2824
{
2925
"label": "FAQ",
3026
"to": "faq"
@@ -63,6 +59,14 @@
6359
{
6460
"label": "React Table Adapter",
6561
"to": "framework/react/react-table"
62+
},
63+
{
64+
"label": "Migrating to V9",
65+
"to": "framework/react/guide/migrating"
66+
},
67+
{
68+
"label": "useLegacyTable Guide",
69+
"to": "framework/react/guide/use-legacy-table"
6670
}
6771
]
6872
},
@@ -496,6 +500,10 @@
496500
"to": "framework/angular/examples/row-selection",
497501
"label": "Row Selection"
498502
},
503+
{
504+
"to": "framework/angular/examples/row-selection-signal",
505+
"label": "Row Selection (Signal)"
506+
},
499507
{
500508
"to": "framework/angular/examples/expanding",
501509
"label": "Row Expanding"
@@ -573,6 +581,10 @@
573581
"to": "framework/lit/examples/sorting",
574582
"label": "Sorting"
575583
},
584+
{
585+
"to": "framework/lit/examples/sorting-dynamic-data",
586+
"label": "Sorting (Dynamic Data)"
587+
},
576588
{
577589
"to": "framework/lit/examples/virtualized-rows",
578590
"label": "Virtualized Rows"
@@ -587,12 +599,28 @@
587599
"label": "Basic"
588600
},
589601
{
590-
"to": "framework/react/examples/shadcn-basic",
602+
"to": "framework/react/examples/basic-shadcn",
591603
"label": "Shadcn Basic"
592604
},
593605
{
594-
"to": "framework/react/examples/basic-table-helper",
595-
"label": "Basic with Helpers"
606+
"to": "framework/react/examples/basic-use-table",
607+
"label": "Basic (useTable)"
608+
},
609+
{
610+
"to": "framework/react/examples/basic-use-app-table",
611+
"label": "Basic (useAppTable)"
612+
},
613+
{
614+
"to": "framework/react/examples/basic-use-legacy-table",
615+
"label": "Basic (useLegacyTable)"
616+
},
617+
{
618+
"to": "framework/react/examples/basic-external-state",
619+
"label": "Basic (External State)"
620+
},
621+
{
622+
"to": "framework/react/examples/basic-external-store",
623+
"label": "Basic (External Store)"
596624
},
597625
{
598626
"to": "framework/react/examples/column-groups",
@@ -622,6 +650,10 @@
622650
"to": "framework/react/examples/column-pinning",
623651
"label": "Column Pinning"
624652
},
653+
{
654+
"to": "framework/react/examples/column-pinning-split",
655+
"label": "Column Pinning (Split)"
656+
},
625657
{
626658
"to": "framework/react/examples/column-pinning-sticky",
627659
"label": "Sticky Column Pinning"
@@ -630,6 +662,10 @@
630662
"to": "framework/react/examples/column-sizing",
631663
"label": "Column Sizing"
632664
},
665+
{
666+
"to": "framework/react/examples/column-resizing",
667+
"label": "Column Resizing"
668+
},
633669
{
634670
"to": "framework/react/examples/column-resizing-performant",
635671
"label": "Performant Column Resizing"
@@ -639,8 +675,12 @@
639675
"label": "Column Visibility"
640676
},
641677
{
642-
"to": "framework/react/examples/editable-data",
643-
"label": "Editable Data"
678+
"to": "framework/react/examples/composable-tables",
679+
"label": "Composable Tables"
680+
},
681+
{
682+
"to": "framework/react/examples/custom-plugin",
683+
"label": "Custom Plugin"
644684
},
645685
{
646686
"to": "framework/react/examples/expanding",
@@ -650,10 +690,6 @@
650690
"to": "framework/react/examples/sub-components",
651691
"label": "Sub Components"
652692
},
653-
{
654-
"to": "framework/react/examples/fully-controlled",
655-
"label": "Fully Controlled"
656-
},
657693
{
658694
"to": "framework/react/examples/grouping",
659695
"label": "Grouping"
@@ -662,10 +698,6 @@
662698
"to": "framework/react/examples/pagination",
663699
"label": "Pagination"
664700
},
665-
{
666-
"to": "framework/react/examples/pagination-controlled",
667-
"label": "Pagination Controlled"
668-
},
669701
{
670702
"to": "framework/react/examples/row-dnd",
671703
"label": "Row DnD"
@@ -703,28 +735,20 @@
703735
"label": "Virtualized Infinite Scrolling"
704736
},
705737
{
706-
"to": "framework/react/examples/kitchen-sink",
707-
"label": "Kitchen Sink"
708-
},
709-
{
710-
"to": "framework/react/examples/material-ui-pagination",
711-
"label": "Material UI Pagination"
712-
},
713-
{
714-
"to": "framework/react/examples/full-width-table",
715-
"label": "React Full Width"
738+
"to": "framework/react/examples/kitchen-sink-shadcn",
739+
"label": "Kitchen Sink (Shadcn)"
716740
},
717741
{
718-
"to": "framework/react/examples/full-width-resizable-table",
719-
"label": "React Full Width Resizable"
742+
"to": "framework/react/examples/with-tanstack-form",
743+
"label": "With TanStack Form"
720744
},
721745
{
722-
"to": "framework/react/examples/custom-features",
723-
"label": "Custom Features"
746+
"to": "framework/react/examples/with-tanstack-query",
747+
"label": "With TanStack Query"
724748
},
725749
{
726-
"to": "framework/react/examples/query-router-search-params",
727-
"label": "Query Router Search Params"
750+
"to": "framework/react/examples/with-tanstack-router",
751+
"label": "With TanStack Router"
728752
}
729753
]
730754
},
@@ -735,6 +759,10 @@
735759
"to": "framework/solid/examples/basic",
736760
"label": "Basic"
737761
},
762+
{
763+
"to": "framework/solid/examples/basic-table-helper",
764+
"label": "Basic with Helpers"
765+
},
738766
{
739767
"to": "framework/solid/examples/column-groups",
740768
"label": "Column Groups"
@@ -751,6 +779,14 @@
751779
"to": "framework/solid/examples/filters",
752780
"label": "Filters"
753781
},
782+
{
783+
"to": "framework/solid/examples/filters-faceted",
784+
"label": "Filters (Faceted)"
785+
},
786+
{
787+
"to": "framework/solid/examples/row-selection",
788+
"label": "Row Selection"
789+
},
754790
{
755791
"to": "framework/solid/examples/sorting",
756792
"label": "Sorting"
@@ -768,6 +804,14 @@
768804
"to": "framework/svelte/examples/basic",
769805
"label": "Basic"
770806
},
807+
{
808+
"to": "framework/svelte/examples/basic-snippets",
809+
"label": "Basic Snippets"
810+
},
811+
{
812+
"to": "framework/svelte/examples/basic-table-helper",
813+
"label": "Basic with Helpers"
814+
},
771815
{
772816
"to": "framework/svelte/examples/column-groups",
773817
"label": "Column Groups"
@@ -788,6 +832,10 @@
788832
"to": "framework/svelte/examples/filtering",
789833
"label": "Filtering"
790834
},
835+
{
836+
"to": "framework/svelte/examples/row-selection",
837+
"label": "Row Selection"
838+
},
791839
{
792840
"to": "framework/svelte/examples/sorting",
793841
"label": "Sorting"
@@ -813,6 +861,10 @@
813861
"to": "framework/vue/examples/pagination",
814862
"label": "Pagination"
815863
},
864+
{
865+
"to": "framework/vue/examples/pagination-controlled",
866+
"label": "Pagination Controlled"
867+
},
816868
{
817869
"to": "framework/vue/examples/row-selection",
818870
"label": "Row Selection"
@@ -835,6 +887,19 @@
835887
}
836888
]
837889
},
890+
{
891+
"label": "preact",
892+
"children": [
893+
{
894+
"to": "framework/preact/examples/basic",
895+
"label": "Basic"
896+
},
897+
{
898+
"to": "framework/preact/examples/sorting",
899+
"label": "Sorting"
900+
}
901+
]
902+
},
838903
{
839904
"label": "vanilla",
840905
"children": [

docs/framework/angular/reference/functions/injectTable.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@ title: injectTable
99
function injectTable<TFeatures, TData, TSelected>(options, selector): AngularTable<TFeatures, TData, TSelected>;
1010
```
1111

12-
Defined in: [injectTable.ts:96](https://github.com/TanStack/table/blob/main/packages/angular-table/src/injectTable.ts#L96)
12+
Defined in: [injectTable.ts:95](https://github.com/TanStack/table/blob/main/packages/angular-table/src/injectTable.ts#L95)
1313

1414
Creates and returns an Angular-reactive table instance.
1515

1616
The initializer is intentionally re-evaluated whenever any signal read inside it changes.
1717
This is how the adapter keeps the table in sync with Angular's reactivity model.
1818

1919
Because of that behavior, keep expensive/static values (for example `columns`, feature setup, row models)
20-
as stable references outside the initializer, and only read reactive state (`data()`, pagination/filter/sorting signals, etc.)
20+
as stable references outside the initializer, and only read reactive state (`data()`, pagination/filter/sorting signals, etc.)
2121
inside it.
2222

2323
The returned table is also signal-reactive: table state and table APIs are wired for Angular signals, so you can safely consume table methods inside `computed(...)` and `effect(...)`.
@@ -58,7 +58,7 @@ An Angular-reactive TanStack Table instance.
5858
```ts
5959
// Register only the features you need
6060
import {tableFeatures, rowPaginationFeature} from '@tanstack/angular-table';
61-
const _features = tableFeatures({
61+
const _features = tableFeatures({
6262
rowPaginationFeature,
6363
// ...all other features you need
6464
})
@@ -83,7 +83,7 @@ const columnHelper = createColumnHelper<typeof _features, MyData>();
8383
const columns = columnHelper.columns([
8484
columnHelper.accessor(...),
8585
// ...other columns
86-
])
86+
])
8787
```
8888
3. Create the table instance with `injectTable`
8989
```ts

docs/framework/angular/reference/type-aliases/AngularTable.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ title: AngularTable
99
type AngularTable<TFeatures, TData, TSelected> = Table<TFeatures, TData> & object;
1010
```
1111

12-
Defined in: [injectTable.ts:22](https://github.com/TanStack/table/blob/main/packages/angular-table/src/injectTable.ts#L22)
12+
Defined in: [injectTable.ts:21](https://github.com/TanStack/table/blob/main/packages/angular-table/src/injectTable.ts#L21)
1313

1414
## Type Declaration
1515

0 commit comments

Comments
 (0)