Skip to content

Conversation

@LeshaTat
Copy link
Contributor

PR includes a brief warning.

For context, see #5972.
TL;DR: Invoking fetchNextPage prevents automatic refetching of invalidated or stale cache data. This may occur when fetchNextPage is called immediately after mounting, such as in the onEndReached callback.

@vercel
Copy link

vercel bot commented Sep 17, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
query ⬜️ Ignored (Inspect) Visit Preview Sep 17, 2023 2:42pm

@TkDodo TkDodo merged commit 520f421 into TanStack:main Sep 17, 2023
@codesandbox-ci
Copy link

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 62a3741:

Sandbox Source
@tanstack/query-example-react-basic-typescript Configuration
@tanstack/query-example-solid-basic-typescript Configuration
@tanstack/query-example-svelte-basic Configuration
@tanstack/query-example-vue-basic Configuration

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants