File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -36,6 +36,10 @@ React Query contains a set of hooks that attempt to address these issues. Ouf of
3636- Supports retries and even exponential/custom back-off delays
3737- Provides a declarative API for invalidating and managing cached responses.
3838
39+ ## Hat Tipping
40+
41+ A big thanks to [ Draqula] ( https://github.com/vadimdemedes/draqula ) for inspiring a lot of React Query's API and documentation. You rock!
42+
3943## Demos
4044
4145- [ A contrived CodeSandbox example] ( https://codesandbox.io/s/github/tannerlinsley/react-query/tree/master/example )
Original file line number Diff line number Diff line change @@ -356,7 +356,7 @@ export function useRefetchQueries() {
356356 const [ , , providerMetaRef ] = React . useContext ( context )
357357
358358 return React . useCallback (
359- async ( refetchQueries , { waitForRefetchQueries } ) => {
359+ async ( refetchQueries , { waitForRefetchQueries } = { } ) => {
360360 const refetchQueryPromises = refetchQueries . map ( async refetchQuery => {
361361 const { query, variables } =
362362 typeof refetchQuery === 'function'
You can’t perform that action at this time.
0 commit comments