Skip to content

Commit 7b1bdcf

Browse files
authored
Merge branch 'main' into vitest/official-eslint-plugin
2 parents 662e7e7 + 49a8dc4 commit 7b1bdcf

File tree

14 files changed

+197
-43
lines changed

14 files changed

+197
-43
lines changed

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ Hooks for fetching, caching and updating asynchronous data in React, Solid, Svel
88
<img alt="#TanStack" src="https://img.shields.io/twitter/url?color=%2308a0e9&label=%23TanStack&style=social&url=https%3A%2F%2Ftwitter.com%2Fintent%2Ftweet%3Fbutton_hashtag%3DTanStack">
99
</a><a href="https://discord.com/invite/WrRKjPJ" target="\_parent">
1010
<img alt="" src="https://img.shields.io/badge/Discord-TanStack-%235865F2" />
11-
</a><a href="https://github.com/TanStack/query/actions?query=workflow%3A%22react-query+tests%22">
12-
<img src="https://github.com/TanStack/query/workflows/react-query%20tests/badge.svg" />
1311
</a><a href="https://www.npmjs.com/package/@tanstack/query-core" target="\_parent">
1412
<img alt="" src="https://img.shields.io/npm/dm/@tanstack/query-core.svg" />
1513
</a><a href="https://bundlejs.com/?q=%40tanstack%2Freact-query&config=%7B%22esbuild%22%3A%7B%22external%22%3A%5B%22react%22%2C%22react-dom%22%5D%7D%7D&badge=" target="\_parent">

docs/eslint/eslint-plugin-query.md

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,23 @@ The plugin is a separate package that you need to install:
1111

1212
```bash
1313
$ npm i -D @tanstack/eslint-plugin-query
14-
# or
14+
```
15+
16+
or
17+
18+
```bash
1519
$ pnpm add -D @tanstack/eslint-plugin-query
16-
# or
20+
```
21+
22+
or
23+
24+
```bash
1725
$ yarn add -D @tanstack/eslint-plugin-query
18-
# or
26+
```
27+
28+
or
29+
30+
```bash
1931
$ bun add -D @tanstack/eslint-plugin-query
2032
```
2133

docs/framework/angular/devtools.md

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,23 @@ The devtools are a separate package that you need to install:
99

1010
```bash
1111
$ npm i @tanstack/angular-query-devtools-experimental
12-
# or
12+
```
13+
14+
or
15+
16+
```bash
1317
$ pnpm add @tanstack/angular-query-devtools-experimental
14-
# or
18+
```
19+
20+
or
21+
22+
```bash
1523
$ yarn add @tanstack/angular-query-devtools-experimental
16-
# or
24+
```
25+
26+
or
27+
28+
```bash
1729
$ bun add @tanstack/angular-query-devtools-experimental
1830
```
1931

docs/framework/angular/installation.md

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,23 @@ _Angular Query is compatible with Angular v16 and higher_
1111

1212
```bash
1313
npm i @tanstack/angular-query-experimental
14-
# or
14+
```
15+
16+
or
17+
18+
```bash
1519
pnpm add @tanstack/angular-query-experimental
16-
# or
20+
```
21+
22+
or
23+
24+
```bash
1725
yarn add @tanstack/angular-query-experimental
18-
# or
26+
```
27+
28+
or
29+
30+
```bash
1931
bun add @tanstack/angular-query-experimental
2032
```
2133

docs/framework/react/devtools.md

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,23 @@ The devtools are a separate package that you need to install:
2121

2222
```bash
2323
$ npm i @tanstack/react-query-devtools
24-
# or
24+
```
25+
26+
or
27+
28+
```bash
2529
$ pnpm add @tanstack/react-query-devtools
26-
# or
30+
```
31+
32+
or
33+
34+
```bash
2735
$ yarn add @tanstack/react-query-devtools
28-
# or
36+
```
37+
38+
or
39+
40+
```bash
2941
$ bun add @tanstack/react-query-devtools
3042
```
3143

docs/framework/react/guides/request-waterfalls.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,8 @@ const [usersQuery, teamsQuery, projectsQuery] = useSuspenseQueries({
118118
{ queryKey: ['users'], queryFn: fetchUsers },
119119
{ queryKey: ['teams'], queryFn: fetchTeams },
120120
{ queryKey: ['projects'], queryFn: fetchProjects },
121-
]
122-
}
121+
],
122+
})
123123
```
124124

125125
### Nested Component Waterfalls

docs/framework/react/installation.md

Lines changed: 30 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,23 @@ or a good ol' `<script>` via
1111

1212
```bash
1313
npm i @tanstack/react-query
14-
# or
14+
```
15+
16+
or
17+
18+
```bash
1519
pnpm add @tanstack/react-query
16-
# or
20+
```
21+
22+
or
23+
24+
```bash
1725
yarn add @tanstack/react-query
18-
# or
26+
```
27+
28+
or
29+
30+
```bash
1931
bun add @tanstack/react-query
2032
```
2133

@@ -58,10 +70,22 @@ It is recommended to also use our [ESLint Plugin Query](../../../eslint/eslint-p
5870

5971
```bash
6072
npm i -D @tanstack/eslint-plugin-query
61-
# or
73+
```
74+
75+
or
76+
77+
```bash
6278
pnpm add -D @tanstack/eslint-plugin-query
63-
# or
79+
```
80+
81+
or
82+
83+
```bash
6484
yarn add -D @tanstack/eslint-plugin-query
65-
# or
85+
```
86+
87+
or
88+
89+
```bash
6690
bun add -D @tanstack/eslint-plugin-query
6791
```

docs/framework/solid/devtools.md

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,23 @@ The devtools are a separate package that you need to install:
1313

1414
```bash
1515
$ npm i @tanstack/solid-query-devtools
16-
# or
16+
```
17+
18+
or
19+
20+
```bash
1721
$ pnpm add @tanstack/solid-query-devtools
18-
# or
22+
```
23+
24+
or
25+
26+
```bash
1927
$ yarn add @tanstack/solid-query-devtools
20-
# or
28+
```
29+
30+
or
31+
32+
```bash
2133
$ bun add @tanstack/solid-query-devtools
2234
```
2335

docs/framework/solid/installation.md

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,23 @@ or a good ol' `<script>` via
1111

1212
```bash
1313
npm i @tanstack/solid-query
14-
# or
14+
```
15+
16+
or
17+
18+
```bash
1519
pnpm add @tanstack/solid-query
16-
# or
20+
```
21+
22+
or
23+
24+
```bash
1725
yarn add @tanstack/solid-query
18-
# or
26+
```
27+
28+
or
29+
30+
```bash
1931
bun add @tanstack/solid-query
2032
```
2133

docs/framework/svelte/installation.md

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,23 @@ You can install Svelte Query via [NPM](https://npmjs.com).
1111

1212
```bash
1313
npm i @tanstack/svelte-query
14-
# or
14+
```
15+
16+
or
17+
18+
```bash
1519
pnpm add @tanstack/svelte-query
16-
# or
20+
```
21+
22+
or
23+
24+
```bash
1725
yarn add @tanstack/svelte-query
18-
# or
26+
```
27+
28+
or
29+
30+
```bash
1931
bun add @tanstack/svelte-query
2032
```
2133

0 commit comments

Comments
 (0)