Skip to content
This repository has been archived by the owner on Jun 8, 2021. It is now read-only.

Call provides/invalidates when a query has an isError state #201

Merged
merged 3 commits into from
Apr 15, 2021

Conversation

msutkowski
Copy link
Member

@msutkowski msutkowski commented Apr 14, 2021

Continues #180 and Fixes #170

@github-actions
Copy link

github-actions bot commented Apr 14, 2021

size-limit report 📦

Path Size
ESM full 10.21 KB (+0.89% 🔺)
ESM full (React) 11.59 KB (+0.91% 🔺)
createApi + setupListeners 9.24 KB (+1.15% 🔺)
createApi (React) + setupListeners 10.49 KB (+0.92% 🔺)
fetchBaseQuery 701 B (0%)
retry 278 B (0%)
ApiProvider 400 B (0%)
CJS minfied 15.73 KB (+0.5% 🔺)
CJS React minfied 17.39 KB (+0.41% 🔺)

@codesandbox-ci
Copy link

codesandbox-ci bot commented Apr 14, 2021

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit d7c2b30:

Sandbox Source
React Configuration
React Typescript Configuration
rtk-query-demo Configuration
svelte-app-rtk-simplequery-demo Configuration

@msutkowski msutkowski linked an issue Apr 15, 2021 that may be closed by this pull request
@msutkowski msutkowski marked this pull request as ready for review April 15, 2021 03:27
@msutkowski msutkowski changed the title Invalidation on error patch Call provides/invalidates when a query has an isError state Apr 15, 2021
@msutkowski msutkowski merged commit 5b14aea into next Apr 15, 2021
@msutkowski msutkowski deleted the invalidationOnError-patch branch April 15, 2021 03:30
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

invalidation not triggering cached rejected fetches
1 participant