You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/installation.md
+24-39Lines changed: 24 additions & 39 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,66 +4,51 @@ title: Installation
4
4
5
5
Before we dig in to the API, let's get you set up!
6
6
7
-
Install your table adapter as a dependency using your favorite npm package manager.
7
+
Install your table adapter as a dependency using your preferred package manager:
8
8
9
-
_Only install ONE of the following packages:_
9
+
<!-- ::start:tabs variant="package-managers" -->
10
10
11
-
## React Table
11
+
react: @tanstack/react-table
12
+
vue: @tanstack/vue-table
13
+
solid: @tanstack/solid-table
14
+
svelte: @tanstack/svelte-table
15
+
angular: @tanstack/angular-table
16
+
lit: @tanstack/lit-table
12
17
13
-
```bash
14
-
npm install @tanstack/react-table
15
-
```
18
+
<!-- ::end:tabs -->
16
19
17
-
The `@tanstack/react-table` package works with React 16.8, React 17, React 18, and React 19.
18
-
19
-
> NOTE: Even though the react adapter works with React 19, it may not work with the new React Compiler that's coming out along-side React 19. This may be fixed in future TanStack Table updates.
20
+
<!-- ::start:framework -->
20
21
21
-
## Vue Table
22
+
#React
22
23
23
-
```bash
24
-
npm install @tanstack/vue-table
25
-
```
24
+
The `@tanstack/react-table` package works with React 16.8, React 17, React 18, and React 19.
26
25
27
-
The `@tanstack/vue-table` package works with Vue 3.
26
+
> [!NOTE]
27
+
> Even though the React adapter works with React 19, it may not work with the new React Compiler that's coming out alongside React 19. This may be fixed in future TanStack Table updates.
28
28
29
-
## Solid Table
29
+
#Vue
30
30
31
-
```bash
32
-
npm install @tanstack/solid-table
33
-
```
31
+
The `@tanstack/vue-table` package works with Vue 3.
34
32
35
-
The `@tanstack/solid-table` package works with Solid-JS 1
33
+
# Solid
36
34
37
-
## Svelte Table
35
+
The `@tanstack/solid-table` package works with Solid-JS 1.
38
36
39
-
```bash
40
-
npm install @tanstack/svelte-table
41
-
```
37
+
# Svelte
42
38
43
39
The `@tanstack/svelte-table` package works with Svelte 3 and Svelte 4.
44
40
45
-
> NOTE: There is not a built-in Svelte 5 adapter yet, but you can still use TanStack Table with Svelte 5 by installing the `@tanstack/table-core` package and using a custom adapter from the community. See this [PR](https://github.com/TanStack/table/pull/5403) for inspiration.
46
-
47
-
## Angular Table
41
+
> [!NOTE]
42
+
> There is not a built-in Svelte 5 adapter yet, but you can still use TanStack Table with Svelte 5 by installing the `@tanstack/table-core` package and using a custom adapter from the community. See this [PR](https://github.com/TanStack/table/pull/5403) for inspiration.
48
43
49
-
```bash
50
-
npm install @tanstack/angular-table
51
-
```
44
+
# Angular
52
45
53
46
The `@tanstack/angular-table` package works with Angular 17. The Angular adapter uses a new Angular Signal implementation.
54
47
55
-
## Lit Table
56
-
57
-
```bash
58
-
npm install @tanstack/lit-table
59
-
```
48
+
# Lit
60
49
61
50
The `@tanstack/lit-table` package works with Lit 3.
62
51
63
-
## Table Core (no framework)
64
-
65
-
```bash
66
-
npm install @tanstack/table-core
67
-
```
52
+
<!-- ::end:framework -->
68
53
69
54
Don't see your favorite framework (or favorite version of your framework) listed? You can always just use the `@tanstack/table-core` package and build your own adapter in your own codebase. Usually, only a thin wrapper is needed to manage state and rendering for your specific framework. Browse the [source code](https://github.com/TanStack/table/tree/main/packages) of all of the other adapters to see how they work.
0 commit comments