Skip to content

useInfiniteQuery only works on first page, fetchNextPage does not make http request. (with minimal demo) #9305

Closed
@leopku

Description

@leopku

Describe the bug

fetchNextPage doest not make a http request.

Any suggestions?

Your minimal, reproducible example

https://codesandbox.io/p/sandbox/dsm5qg

Steps to reproduce

  1. Open Chrome DevTools
  2. Switch to Network tab
  3. Click more button

Expected behavior

New http request should be sent.

How often does this bug happen?

Every time

Screenshots or Videos

No response

Platform

  • OS: win10 && macOS 15
  • Browser: Edge && Chromium

Tanstack Query adapter

react-query

TanStack Query version

v5.81.2

TypeScript version

v5.8.3(real env)

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions