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

5,899 commits

Author SHA1 Message Date
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
a29c34fd48
docs(framework/angular): use the defined 'QueriesService' in 'queryOptions' and 'mutationOptions' snippets (#12376) 2026-10-26 02:07:05 +09:00
Wonsuk Choi
eea41e497f
docs(framework/lit/guides): update example snippets to the 'services/{domain}' query factories (#12375) 2026-10-26 02:06:55 +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
4f3dba5782
refactor(vue-query/utils): type 'isPlainObject' as 'Record<PropertyKey, unknown>' instead of the 'Object' wrapper type, like 'query-core' (#12343) 2026-10-25 21:11:38 +09:00
Wonsuk Choi
d7c0418f87
chore(react-query/{useQuery,useInfiniteQuery}): remove the unused '@eslint-react/no-nested-component-definitions' disable and explain the remaining false positive (#12344) 2026-10-25 21:11:06 +09:00
Wonsuk Choi
aa3e26b4f0
chore(react-query/{HydrationBoundary,utils}): explain why 'react-hooks-js/refs' and 'react-hooks-js/set-state-in-effect' are disabled (#12342) 2026-10-25 20:21:53 +09:00
Wonsuk Choi
4c1384f122
test(solid-query/{useMutation,useIsMutating,useQueries}): assert that the work settles in the cache after unmount while the component state stays unchanged (#12341) 2026-10-25 20:18:56 +09:00
Wonsuk Choi
b4212cc9f8
test(preact-query/useMutation): assert that the mutation settles in the cache after unmount while the component state stays unchanged (#12340) 2026-10-25 20:18:48 +09:00
Wonsuk Choi
b2801aa76f
test(react-query/useMutation): assert that the mutation settles in the cache after unmount while the component state stays unchanged (#12339) 2026-10-25 20:18:30 +09:00
Wonsuk Choi
659431a5f5
test(query-devtools/utils): use English fixture values and fix the 'bolognese' typo instead of disabling 'cspell/spellchecker' (#12338) 2026-10-25 13:43:39 +09:00
Wonsuk Choi
e8ffa3f39a
test(query-core/streamedQuery): consume the signal with 'void context.signal' instead of an always-truthy condition, and explain the kept 'require-await' disables (#12337) 2026-10-25 13:41:54 +09:00
Wonsuk Choi
8429d10720
test(solid-query/{useMutation,useIsMutating,useQueries}): wait for the work to settle after unmount and assert that no error is logged (#12336) 2026-10-25 13:41:40 +09:00
Wonsuk Choi
a6211e3b2f
test(preact-query/useMutation): wait for the mutation to settle after unmount and assert that no error is logged (#12335) 2026-10-25 13:40:14 +09:00
Wonsuk Choi
43636c43e7
test(react-query/useMutation): wait for the mutation to settle after unmount and assert that no error is logged (#12334) 2026-10-25 13:39:49 +09:00
Wonsuk Choi
3700deff20
test(query-core/utils): assert with 'toBeCallableWith' that 'invalidateQueries' accepts a union of query keys with different lengths (#12333) 2026-10-25 13:39:35 +09:00
Wonsuk Choi
83aeaf054b
test(query-devtools/{Explorer,Devtools}): remove unnecessary type assertions and their 'oxlint-disable' comments (#12330) 2026-10-25 13:29:34 +09:00
Wonsuk Choi
f9931c130a
test(query-core): remove unnecessary type assertions and their 'oxlint-disable' comments, and explain the one kept in 'retryer.test-d' (#12331) 2026-10-25 13:29:08 +09:00
Wonsuk Choi
1eed9d9ef5
chore(*): explain why 'vitest-js/valid-expect' is disabled for the 'expectTypeOf<TQueryKey>(ctx.queryKey)' checks in the 'useQueries' type tests (#12332) 2026-10-25 13:28:51 +09:00
Wonsuk Choi
a155bb8c77
chore(query-core/query): explain why 'typescript/no-unnecessary-condition' is disabled for the 'state' check in 'setOptions' (#12326) 2026-10-25 12:49:57 +09:00
Wonsuk Choi
0c5ec0695a
chore(eslint-plugin-query/detect-react-query-imports): explain why 'typescript/no-unnecessary-condition' is disabled for the 'importKind' check (#12327) 2026-10-25 12:49:39 +09:00