Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle additional serializeQueryArgs + skipToken case #4762

Merged
merged 2 commits into from
Dec 11, 2024

Conversation

markerikson
Copy link
Collaborator

This PR:

  • Also adds a skipToken bailout in queryStatePreSelector to avoid calling serializeQueryArgs
  • Adds in the API ref docblock for invalidationBehavior

Fixes #3151
Fixes #4751

Copy link

codesandbox bot commented Dec 11, 2024

Review or Edit in CodeSandbox

Open the branch in Web EditorVS CodeInsiders

Open Preview

Copy link

codesandbox-ci bot commented Dec 11, 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 6a9dac4:

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

Copy link

netlify bot commented Dec 11, 2024

Deploy Preview for redux-starter-kit-docs ready!

Name Link
🔨 Latest commit 6a9dac4
🔍 Latest deploy log https://app.netlify.com/sites/redux-starter-kit-docs/deploys/6758f3d9cb796400082bb461
😎 Deploy Preview https://deploy-preview-4762--redux-starter-kit-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

github-actions bot commented Dec 11, 2024

size-limit report 📦

Path Size
1. entry point: @reduxjs/toolkit/query/react (cjs, production.min.cjs) 24.47 KB (+0.08% 🔺)
2. entry point: @reduxjs/toolkit/query/react (without dependencies) (cjs, production.min.cjs) 2.88 KB (+0.28% 🔺)
3. createApi (react) (.modern.mjs) 15.68 KB (+0.13% 🔺)

@markerikson markerikson force-pushed the bugfix/3151-serialize-skipToken-again branch from e80365c to 6a9dac4 Compare December 11, 2024 02:07
@markerikson markerikson merged commit 2047f54 into master Dec 11, 2024
88 checks passed
@markerikson markerikson deleted the bugfix/3151-serialize-skipToken-again branch December 11, 2024 02:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant