Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
See all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
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
{{ message }}
New-Future
react-query
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Commits
Breadcrumbs
History for
react-query
src
react
on
master
User selector
All users
Datepicker
All time
Commit history
Commits on Mar 24, 2022
fix(useIsFetching): account for fetches happening in the same render cycle (#3438)
Show description for 31bcaf1
TkDodo
authored
31bcaf1
View commit details
Copy full SHA for 31bcaf1
View code at this point
Browse repository at this point
Commits on Feb 20, 2022
fix(useQuery): pass query as second parameter to useErrorBoundary function(#2660)
TkDodo
authored
b44c213
View commit details
Copy full SHA for b44c213
View code at this point
Browse repository at this point
Commits on Feb 6, 2022
chore: fix prettier
TkDodo
committed
b38eed6
View commit details
Copy full SHA for b38eed6
View code at this point
Browse repository at this point
fix(types): useQueries to also handle array-params with typed QueryKey (#3267)
Show description for a470f46
artysidorenko
authored
a470f46
View commit details
Copy full SHA for a470f46
View code at this point
Browse repository at this point
Commits on Feb 5, 2022
fix(types): export QueriesOptions and QueriesResults types for useQueries (#3251)
Show description for a536773
jmsims2
and
Jeffrey Sims
authored
a536773
View commit details
Copy full SHA for a536773
View code at this point
Browse repository at this point
Commits on Jan 23, 2022
fix(types): use MutationKey instead of QueryKey for useIsMutating (#3222)
amen-souissi
authored
6710bc1
View commit details
Copy full SHA for 6710bc1
View code at this point
Browse repository at this point
Commits on Jan 21, 2022
fix(useQueries): allow types to work with strongly typed QueryFunction + QueryKey (#3214)
artysidorenko
authored
11f4ea9
View commit details
Copy full SHA for 11f4ea9
View code at this point
Browse repository at this point
Commits on Jan 12, 2022
fix(queryObserver): fix data stability (#3183)
Show description for 755702d
TkDodo
authored
755702d
View commit details
Copy full SHA for 755702d
View code at this point
Browse repository at this point
Commits on Dec 28, 2021
fix(queryObserver): memoized select functions should not return outdated values (#3140)
Show description for d7faf86
TkDodo
authored
d7faf86
View commit details
Copy full SHA for d7faf86
View code at this point
Browse repository at this point
Commits on Dec 23, 2021
refactor(types): use core types in useMutation instead of redefining them (#3122)
DamianOsipiuk
authored
b977cf4
View commit details
Copy full SHA for b977cf4
View code at this point
Browse repository at this point
Commits on Dec 17, 2021
fix(query): set error to null when going to loading state (#3106)
Show description for 3981f52
TkDodo
authored
3981f52
View commit details
Copy full SHA for 3981f52
View code at this point
Browse repository at this point
Commits on Dec 15, 2021
fix(queryObserver): make sure that memoized select function only runs once per input (#3098)
Show description for 2054f5b
TkDodo
authored
2054f5b
View commit details
Copy full SHA for 2054f5b
View code at this point
Browse repository at this point
Commits on Dec 14, 2021
fix(core): remove enabled condition in queryObserver for suspense (#3093)
Show description for 0781142
jbee37142
authored
0781142
View commit details
Copy full SHA for 0781142
View code at this point
Browse repository at this point
Commits on Dec 10, 2021
fix(useInfiniteQuery): fix infinite re-renders when select produced a new result (#3081)
Show description for ca335de
TkDodo
authored
ca335de
View commit details
Copy full SHA for ca335de
View code at this point
Browse repository at this point
Commits on Dec 4, 2021
fix(queriesObserver): fix getOptimisticResult, order of returned observers (#3052)
Show description for 2ec1979
jvuoti
authored
2ec1979
View commit details
Copy full SHA for 2ec1979
View code at this point
Browse repository at this point
Commits on Nov 28, 2021
fix(useQuery): continue retries if query unmounts and remounts (#3032)
Show description for dc2df10
TkDodo
authored
dc2df10
View commit details
Copy full SHA for dc2df10
View code at this point
Browse repository at this point
Commits on Nov 26, 2021
fix(useQueries): search for unused observers if keepPreviousData (#2680) (#2866)
jvuoti
authored
c51498a
View commit details
Copy full SHA for c51498a
View code at this point
Browse repository at this point
Commits on Nov 24, 2021
fix(useQueries): add useMemo to useQueries to keep result stable (#2992)
alecf
authored
c6906b3
View commit details
Copy full SHA for c6906b3
View code at this point
Browse repository at this point
Commits on Nov 20, 2021
fix(useQuery): fix tracked queries and error boundaries (#2993)
Show description for 58dc1ce
TkDodo
authored
58dc1ce
View commit details
Copy full SHA for 58dc1ce
View code at this point
Browse repository at this point
Commits on Nov 17, 2021
feat(useMutation): meta for mutations (#2906)
danielbartsch
authored
5285479
View commit details
Copy full SHA for 5285479
View code at this point
Browse repository at this point
Commits on Nov 12, 2021
fix(useQuery): don't throw error if errorBoundary has just been reset (#2935)
Show description for 2c36b6d
TkDodo
authored
2c36b6d
View commit details
Copy full SHA for 2c36b6d
View code at this point
Browse repository at this point
fix(useQuery): make sure that disabled queries in error state don't throw (#2933)
TkDodo
authored
d3d7fc4
View commit details
Copy full SHA for d3d7fc4
View code at this point
Browse repository at this point
Commits on Nov 10, 2021
docs: Typo fixes in Markdown files (#2910)
emzoumpo
authored
8065a7e
View commit details
Copy full SHA for 8065a7e
View code at this point
Browse repository at this point
Commits on Oct 30, 2021
feat(useQuery): Provide AbortSignal to queryFn (#2782)
jcready
authored
e7a3207
View commit details
Copy full SHA for e7a3207
View code at this point
Browse repository at this point
Commits on Oct 26, 2021
test(react): improve code coverage (#2826)
arnaudbzn
authored
020bb92
View commit details
Copy full SHA for 020bb92
View code at this point
Browse repository at this point
test(useQuery): refetchOnMount test name (#2830)
joshuakimDwan
authored
51fb925
View commit details
Copy full SHA for 51fb925
View code at this point
Browse repository at this point
Commits on Oct 23, 2021
feat(useQueries): enable types in useQueries (#2634)
artysidorenko
authored
2c1d74b
View commit details
Copy full SHA for 2c1d74b
View code at this point
Browse repository at this point
fix(useBaseQuery): set cacheTime to 1 in Suspense mode when cacheTime is set to 0 (#2821)
arnaudbzn
authored
2771a15
View commit details
Copy full SHA for 2771a15
View code at this point
Browse repository at this point
Commits on Oct 9, 2021
feat(useInfiniteQuery): respect cancelRefetch flag for infinite queries (fetchNextPage, fetchPreviousPage) (#2731)
lgenzelis
authored
115895f
View commit details
Copy full SHA for 115895f
View code at this point
Browse repository at this point
Commits on Oct 2, 2021
feat(useQuery): make refetchInterval accept a function (#2622)
TkDodo
authored
9e414e8
View commit details
Copy full SHA for 9e414e8
View code at this point
Browse repository at this point
Commits on Sep 19, 2021
fix(core): make sure erroneous queries refetch when query keys change (#2686)
TkDodo
authored
1beedf9
View commit details
Copy full SHA for 1beedf9
View code at this point
Browse repository at this point
Commits on Sep 18, 2021
fix(types): exclude queryKey / queryFn from options if they have been provided as a separate argument (#2689)
TkDodo
authored
7aadd68
View commit details
Copy full SHA for 7aadd68
View code at this point
Browse repository at this point
feat: add isRefetching flag (#2469)
TkDodo
authored
1896ca2
View commit details
Copy full SHA for 1896ca2
View code at this point
Browse repository at this point
Commits on Sep 9, 2021
fix(UseMutationResult): MutationState type allows type narrowing to match useQuery (#2620)
raoufswe
authored
c956f1a
View commit details
Copy full SHA for c956f1a
View code at this point
Browse repository at this point
Commits on Sep 8, 2021
feat: Allow handling some errors locally while using error boundaries (#2619)
dantman
authored
ee7ca0b
View commit details
Copy full SHA for ee7ca0b
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.