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

Add ability to reset lazy query hooks #4689

Merged
merged 1 commit into from
Nov 23, 2024

Conversation

alexmotoc
Copy link
Contributor

Having another go at addressing #2055 since #2133 has been stale for quite a while now.
Implements the suggestion from #2133 (comment)

I have tried to follow a similar approach to the way the reset method has been implemented for the useMutation hook. I am new to this codebase so please let me know if something does not makes sense!

Copy link

codesandbox bot commented Nov 3, 2024

Review or Edit in CodeSandbox

Open the branch in Web EditorVS CodeInsiders

Open Preview

Copy link

netlify bot commented Nov 3, 2024

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

Name Link
🔨 Latest commit 064a339
🔍 Latest deploy log https://app.netlify.com/sites/redux-starter-kit-docs/deploys/6727ca10392edd000883ceb3
😎 Deploy Preview https://deploy-preview-4689--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

codesandbox-ci bot commented Nov 3, 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 064a339:

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

@markerikson
Copy link
Collaborator

Thanks!

@markerikson markerikson merged commit 4d70f2c into reduxjs:master Nov 23, 2024
43 checks passed
@markerikson
Copy link
Collaborator

Out in https://github.com/reduxjs/redux-toolkit/releases/tag/v2.4.0 !

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