Skip to content

Conversation

markerikson
Copy link
Collaborator

This PR:

  • Consolidates some test assertions
  • Adds tests that fail with the existing infinite query behavior when refetchOnMountOrArgChange is true
  • Tweaks the infinite query logic to only check for arg.forcedRefetch instead

Copy link

codesandbox bot commented Dec 30, 2024

Review or Edit in CodeSandbox

Open the branch in Web EditorVS CodeInsiders

Open Preview

Copy link

codesandbox-ci bot commented Dec 30, 2024

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 f56d0ae:

Sandbox Source
@examples-query-react/basic Configuration
@examples-query-react/advanced Configuration
@examples-action-listener/counter Configuration
rtk-esm-cra Configuration

@markerikson markerikson force-pushed the bugfix/infinite-query-refetchonmount branch from 923d351 to f56d0ae Compare December 30, 2024 19:39
@markerikson markerikson merged commit c9cc8ca into feature/infinite-query-integration Dec 30, 2024
83 checks passed
@aryaemami59 aryaemami59 deleted the bugfix/infinite-query-refetchonmount branch January 3, 2025 07:29
markerikson added a commit that referenced this pull request Jan 12, 2025
…4795)

* Consolidate test assertions

* Add failing tests for infinite queries vs refetching

* Tweak infinite query forced check
markerikson added a commit that referenced this pull request Feb 20, 2025
…4795)

* Consolidate test assertions

* Add failing tests for infinite queries vs refetching

* Tweak infinite query forced check
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.

1 participant