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

5,165 commits

Author SHA1 Message Date
Raphaël Huchet
f90455727c
docs: fix typo for placeholder data (#2848) 2021-10-28 14:31:42 +02:00
Dominik Dorfmeister
718903debf
chore: switch from size-limit to bundlewatch (#2845) 2021-10-27 21:55:12 +02:00
Jan Dh
765830c55a
chore: Setup bundle size report (#2837) 2021-10-27 18:05:21 +02:00
Arnaud
6ba663f25a
test(devtools): devtools sort queries test fails on Apple Silicon M1 pro (#2832) 2021-10-27 13:30:48 +02:00
Bennett Dams
1aaca282af
docs: Extend type description of useQuery's onSuccess (#2836) 2021-10-27 13:29:24 +02:00
Arnaud
020bb92d9c
test(react): improve code coverage (#2826) 2021-10-26 22:09:11 +02:00
dohwan joshua kim
51fb925c65
test(useQuery): refetchOnMount test name (#2830) 2021-10-26 21:58:25 +02:00
Luis Felipe Zaguini
4472baea1d
feat(useQuery): add meta field (#2818) v3.29.0 2021-10-26 21:28:38 +02:00
Tanner Linsley
4d762a4ffe
Update index.js 2021-10-26 09:04:56 -06:00
Maful Prayoga Arnandi
461e9887e1
docs(TypeScript): fix useQueries link (#2824) 2021-10-23 21:19:35 +02:00
Arty
2c1d74baf7
feat(useQueries): enable types in useQueries (#2634) v3.28.0 2021-10-23 16:12:00 +02:00
Arnaud
2771a15403
fix(useBaseQuery): set cacheTime to 1 in Suspense mode when cacheTime is set to 0 (#2821) 2021-10-23 16:11:16 +02:00
phatmann
05a8057e2b
docs: Note that calling setQueryData triggers onSuccess (#2808) 2021-10-19 08:11:52 +02:00
Dominik Dorfmeister
255f7c66a8
feat(queryClient): respect cancelRefetch flag (#2798) v3.27.0 2021-10-15 12:44:04 +02:00
Dominik Dorfmeister
35b3836f14
docs(mutations): Update community resources (#2781) 2021-10-10 21:02:48 +02:00
Lucas Genzelis
115895fc92
feat(useInfiniteQuery): respect cancelRefetch flag for infinite queries (fetchNextPage, fetchPreviousPage) (#2731) v3.26.0 2021-10-09 09:24:11 +02:00
Dominik Dorfmeister
ec65515a88
docs(hydration): Document that hydration api requires values to be JSON serializable (#2780) 2021-10-09 09:10:00 +02:00
Jeff Shih
a85d822e24
fix(devtools): replace all instances of rem with em. (#2760) v3.25.1 2021-10-04 08:45:25 +02:00
Cory House
cb22344d4a
docs: Grammar tweaks (#2761) 2021-10-04 07:13:31 +02:00
Dominik Dorfmeister
9e414e8b4f
feat(useQuery): make refetchInterval accept a function (#2622) v3.25.0 2021-10-02 18:16:20 +02:00
Sungmin Chris Yang
36c02b6f3d
fix(broadcastQueryClient): Change broadcastChannel type to optional (#2752) v3.24.6 2021-10-02 15:43:47 +02:00
disflyer
f6ad3098cc
fix(createAsyncStoragePersistor-experimental) fix throttle func (#2739) 2021-09-29 21:43:31 +02:00
Alex
0547e62952
fix(devtools): Default ReactQueryDevtoolsPanel isOpen to true (#2746) v3.24.5
change the `isOpen` prop for the ReactQueryDevtoolsPanel component to default
to true. The subscriptions aren't set up when no isOpen prop is passed, which makes
the panel not show any updates when used without the isOpen prop.

Closes #2745
2021-09-29 20:48:51 +02:00
Noorullah Ahmadzai
a53f6325e9
docs: Return Statement (#2713) 2021-09-24 09:59:48 +02:00
Paul Hammond
f7854e07d5
docs(devTools): Clarify node env logic for devtools (#2711)
Clarify node env logic for devTools to make it clear that the environment should be set to 'development'
2021-09-23 13:05:50 +02:00
Muhammad Al-jefry
10f3d7b8ab
docs: Update persistQueryClient link (#2700) 2021-09-22 21:21:51 +02:00
Muhammad Al-jefry
702bafcf8f
docs: Update persistQueryClient link (#2699) 2021-09-22 21:21:37 +02:00
Richard Lopes
4115417e3e
fix(core): add index.js files to sideEffects (#2703) v3.24.4 2021-09-22 20:40:24 +02:00
Damian Osipiuk
2544f07967
fix(persistQueryClient): import hydration utils from core in persistQueryClient (#2684) v3.24.3 2021-09-19 19:35:25 +02:00
pawlarius
4f8f1c8bae
docs: Add side effect from using setQueryData (#2691) 2021-09-19 16:34:04 +02:00
Dominik Dorfmeister
1beedf9516
fix(core): make sure erroneous queries refetch when query keys change (#2686) v3.24.2 2021-09-19 08:11:34 +02:00
Dominik Dorfmeister
7aadd6896d
fix(types): exclude queryKey / queryFn from options if they have been provided as a separate argument (#2689) v3.24.1 2021-09-18 23:02:36 +02:00
Prateek Surana
9edbd6790e
refactor(devtools): Add types for devtools (#2688) 2021-09-18 23:01:56 +02:00
Dominik Dorfmeister
1896ca27ab
feat: add isRefetching flag (#2469) v3.24.0 2021-09-18 19:34:02 +02:00
Dominik Dorfmeister
873647e124
fix(types): fix generics for refetchPage function (#2638) 2021-09-18 19:31:33 +02:00
Dominik Dorfmeister
16e70e1fb9
fix(devtools): do not show disabled label for inactive queries and make statusColor match statusLabel (#2687) 2021-09-18 19:30:45 +02:00
Andrew Bazhanov
b88cda4105
docs: use hydration utilities from core (#2643) 2021-09-15 10:22:14 +02:00
Dominik Dorfmeister
058977ae61
docs: Add React Query Error Handling to the community resources (#2665) 2021-09-11 17:36:53 +02:00
Elliot Hesp
368959fce4
docs: update testing example to check data (#2664) 2021-09-11 15:23:37 +02:00
Raouf
c956f1af93
fix(UseMutationResult): MutationState type allows type narrowing to match useQuery (#2620) v3.23.2 2021-09-09 16:14:56 +02:00
Tanvesh Sarve
0ec2a495e2
docs: fix markdown styles of links (#2642) v3.23.1 2021-09-08 20:21:19 +02:00
Torleif Berger
eeecd1c3fd
fix(devtools): Remove id attributes from SVGs (#2653) 2021-09-08 20:18:54 +02:00
Daniel Friesen
ee7ca0bf1e
feat: Allow handling some errors locally while using error boundaries (#2619) v3.23.0 2021-09-08 10:39:20 +02:00
Damian Osipiuk
19861272f5
feat(hydration): move hydration utilities to core, keeping old exports (#2497) v3.22.0 2021-09-07 07:11:30 +02:00
Tanner Linsley
21f7b89e91 Update comparison.md 2021-08-31 13:08:26 -06:00
SaintMalik
1427b1e808
docs: fix typos (#2618) 2021-08-31 07:16:47 +02:00
Dominik Dorfmeister
0c84afed46
docs: add tkdodo's blog to the docs (#2616) 2021-08-29 22:38:42 +02:00
Jonathan Verrecchia
b46c646738
fix(devtools): do not render DevTools during SSR (#2615) v3.21.1 2021-08-29 17:42:56 +02:00
Jack Lawrence-Jones
640590cb55
docs: Add link to 3rd party React Native devtools (#2610) 2021-08-29 07:54:00 +02:00
Dominik Dorfmeister
afcba6066d
feat(devtools): show disabled badge for a query if all observers are disabled (#2592) v3.21.0 2021-08-20 19:36:04 +02:00