0
Fork 0
mirror of https://github.com/TanStack/query.git synced 2026-11-16 22:50:20 +00:00
Commit graph

1,084 commits

Author SHA1 Message Date
github-actions[bot]
5cc606e2e8
ci: Version Packages (#12301)
ci: changeset release

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-10-26 10:28:34 +01:00
Wonsuk Choi
06d1705a58
chore(deps): update '@typescript-eslint/*' to '^8.72.0' in the catalog and examples (#12388) 2026-10-26 16:33:55 +09:00
Wonsuk Choi
2b5b6417fa
chore(examples/*/eslint.config): use 'flat/recommended-strict' from '@tanstack/eslint-plugin-query' (#12385) 2026-10-26 02:55:51 +09:00
Wonsuk Choi
772bd1144e
refactor(examples/react/nextjs-suspense-streaming): move the data layer into 'services/wait' with a query factory (#12384) 2026-10-26 02:41:20 +09:00
Wonsuk Choi
437d3bec76
style(examples): write durations in 'count * unit * 1000' order (#12383) 2026-10-26 02:29:26 +09:00
Wonsuk Choi
f69600ae69
refactor(examples/{react,solid}/offline): inline 'useMovie' into the 'Detail' component (#12379) 2026-10-26 02:15:18 +09:00
Wonsuk Choi
c007aaf450
refactor(examples/solid/{basic,basic-graphql-request}): inline 'createPosts' and 'createPost' that only wrap 'useQuery' (#12378) 2026-10-26 02:15:09 +09:00
Wonsuk Choi
a52f4e9777
refactor(examples/react/{basic,basic-graphql-request,eslint-legacy,nextjs,nextjs-suspense-streaming}): inline custom hooks that only wrap 'useQuery' or 'useSuspenseQuery' (#12377) 2026-10-26 02:15:02 +09:00
Wonsuk Choi
7f86e23891
refactor(examples/angular/{rxjs,devtools-panel}): move the data layer into 'services/{domain}' with a query factory (#12374) 2026-10-26 02:02:47 +09:00
Wonsuk Choi
6b3d0914ba
refactor(examples/angular/{pagination,infinite-query-with-max-pages}): move the data layer into 'services/projects' with a query factory (#12373) 2026-10-26 02:01:50 +09:00
Wonsuk Choi
801ec31b7d
refactor(examples/angular/{auto-refetching,optimistic-updates}): move the data layer into 'services/tasks' with query and mutation factories (#12372) 2026-10-26 02:01:19 +09:00
Wonsuk Choi
69ea57ba8d
refactor(examples/angular/query-options-from-a-service): move the data layer into 'services/posts' with a query factory (#12371) 2026-10-26 01:59:37 +09:00
Wonsuk Choi
7151c20f6f
refactor(examples/angular/{basic,basic-persister,router}): move the data layer into 'services/posts' with a query factory (#12370) 2026-10-26 01:48:27 +09:00
Wonsuk Choi
7ef3775343
refactor(examples/lit/ssr): move the data layer into 'services/data' with a query factory (#12369) 2026-10-26 01:46:57 +09:00
Wonsuk Choi
15cecf6448
refactor(examples/lit/pagination): move the data layer into 'services/projects' with query and mutation factories (#12368) 2026-10-26 01:46:23 +09:00
Wonsuk Choi
55ed711653
refactor(examples/lit/basic): move the data layer into 'services/todos' with query and mutation factories (#12367) 2026-10-26 01:32:47 +09:00
Wonsuk Choi
a39a5dc2f0
refactor(examples/svelte/playground): move the data layer into 'services/todos' with query and mutation factories (#12366) 2026-10-26 01:31:46 +09:00
Wonsuk Choi
80fdbd469b
refactor(examples/svelte/{auto-refetching,optimistic-updates}): move the data layer into 'services/todos' with query and mutation factories (#12365) 2026-10-26 01:30:47 +09:00
Wonsuk Choi
fb2e4c55af
refactor(examples/svelte/ssr): move the data layer into 'services/posts' with a query factory (#12364) 2026-10-26 01:19:11 +09:00
Wonsuk Choi
7d9b15ae74
refactor(examples/svelte/{basic,load-more-infinite-scroll,star-wars}): move the data layer into 'services/{domain}' with a query factory (#12363) 2026-10-26 01:19:02 +09:00
Wonsuk Choi
ff7c510390
refactor(examples/vue/persister): move the data layer into 'services/posts' with a query factory (#12361) 2026-10-26 01:01:02 +09:00
Wonsuk Choi
f4de8a679c
refactor(examples/vue/nuxt3): move the data layer into 'services/posts' with a query factory (#12362) 2026-10-26 01:00:38 +09:00
Wonsuk Choi
795ded81e3
refactor(examples/vue/{basic,2.6-basic,2.7-basic,dependent-queries,simple}): move the data layer into 'services/{domain}' with a query factory (#12360) 2026-10-26 00:59:34 +09:00
Wonsuk Choi
1d958595f7
refactor(examples/solid/{astro,solid-start-streaming}): move the data layer into 'services/{domain}' with a query factory (#12359) 2026-10-26 00:47:22 +09:00
Wonsuk Choi
cb3c3d5ba2
refactor(examples/solid/offline): move the data layer into 'services/movies' with a query factory (#12358) 2026-10-26 00:40:03 +09:00
Wonsuk Choi
239caf9645
refactor(examples/solid/{basic,basic-graphql-request}): move the data layer into 'services/posts' with a query factory (#12357) 2026-10-26 00:39:13 +09:00
Wonsuk Choi
516b870c9c
refactor(examples/react/{nextjs-app-optimistic-updates,nextjs-app-prefetching}): move the data layer into 'services/{domain}' with a query factory (#12356) 2026-10-26 00:11:30 +09:00
Wonsuk Choi
db886cee9e
refactor(examples/react/{offline,react-router}): move the data layer into 'services/{domain}' with a query factory (#12355) 2026-10-26 00:11:22 +09:00
Wonsuk Choi
dce0498872
refactor(examples/react/{auto-refetching,playground}): move the data layer into 'services/todos' with query and mutation factories (#12354) 2026-10-26 00:11:13 +09:00
Wonsuk Choi
f99c6e3e45
refactor(examples/react/{batching,chat,react-native}): move the data layer into 'services/{domain}' with a query factory (#12353) 2026-10-26 00:11:05 +09:00
Wonsuk Choi
88018e578a
refactor(examples/react/{rick-morty,star-wars}): move the data layer into one 'services/{domain}' folder per resource with a query factory (#12352) 2026-10-26 00:10:52 +09:00
Wonsuk Choi
1028a29774
refactor(examples/react): move the data layer of the pagination and infinite query examples into 'services/{domain}' with a query factory (#12351) 2026-10-26 00:10:43 +09:00
Wonsuk Choi
9aafaa9bf5
refactor(examples/react): move the data layer of the single-domain examples into 'services/{domain}' with a query factory (#12350)
* refactor(examples/react): move the data layer of the single-domain examples into 'services/{domain}' with a query factory

* refactor(examples/react/basic-graphql-request): type the posts list as only the selected 'id' and 'title' fields
2026-10-26 00:10:07 +09:00
Wonsuk Choi
a777b6b22f
refactor(examples/react/basic): move the data layer into 'services/posts' with 'api.ts', 'queries.ts', and 'types.ts' and a query factory (#12349) 2026-10-25 23:17:05 +09:00
Wonsuk Choi
9318e15879
docs(examples/react/playground): fix the 'Playground' typo in the page title (#12346) 2026-10-25 21:28:58 +09:00
Wonsuk Choi
dedc2a919a
docs(examples/solid/solid-start-streaming): fix the 'queueMicrotask' typo in the batching method label and description (#12347) 2026-10-25 21:28:29 +09:00
Wonsuk Choi
db81416812
docs(*): use American spellings 'behavior', 'initialized', and 'optimize', and 'falsy' instead of 'falsey' (#12348) 2026-10-25 21:27:53 +09:00
Wonsuk Choi
ecc6b0ffb2
docs(examples/react/batching): fix the 'numeric' and 'separated' typos in the character ids label (#12345) 2026-10-25 21:26:50 +09:00
Wonsuk Choi
64d3b15cc1
refactor(examples/lit/pagination): rename the 'onError' 'context' parameter to 'onMutateResult' (#12195) 2026-10-20 14:11:00 +09:00
Wonsuk Choi
81e6a935ae
fix(examples/lit/pagination): show the error message instead of the stringified error (#12187) 2026-10-20 12:19:40 +09:00
Wonsuk Choi
1ed8158eb0
fix(examples/lit/basic): show the error message instead of the stringified error (#12186) 2026-10-20 12:19:31 +09:00
Wonsuk Choi
8aea733e19
refactor(examples/lit/pagination): infer the controller types instead of passing generics that repeat the field types (#12185) 2026-10-20 12:19:17 +09:00
Wonsuk Choi
45e8a5eef3
refactor(examples/lit/basic): infer the controller types from the query and mutation functions instead of passing generics (#12184) 2026-10-20 12:19:03 +09:00
Wonsuk Choi
55fa9595ed
refactor(examples/angular): type the mock interceptor events and bodies as 'unknown' instead of 'any' (#12177) 2026-10-20 11:52:39 +09:00
Wonsuk Choi
5106c1b804
refactor(examples/angular/{devtools-panel,rxjs,simple}): rename the 'Response' interfaces so they do not shadow the global 'Response' type (#12176) 2026-10-20 11:44:37 +09:00
Wonsuk Choi
c41eb8d82a
refactor(examples/angular/infinite-query-with-max-pages): type 'nextId' and 'previousId' as 'number | null' to match the mock response (#12175) 2026-10-20 11:43:19 +09:00
Wonsuk Choi
683c869265
refactor(examples/angular/basic-persister): use 'output()' instead of '@Output()', remove the unused 'QueryClient', and align the components with the basic example (#12172) 2026-10-20 11:37:31 +09:00
Wonsuk Choi
35d21b2d1b
fix(examples/angular/optimistic-updates): throw an 'HttpErrorResponse' from the mock so the failing mutation rolls back in 'onError' (#12173) 2026-10-20 11:37:07 +09:00
Wonsuk Choi
48b599fa69
refactor(examples/angular/optimistic-updates): rename the 'onError' 'context' parameter to 'onMutateResult' and prefix the unused ones (#12174) 2026-10-20 11:36:57 +09:00
Wonsuk Choi
c87c0eafbc
fix(examples/angular/infinite-query-with-max-pages): disable the previous page button while fetching the previous page instead of the next page (#12167) 2026-10-20 10:59:06 +09:00