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

fix(useLazyQuery): added docs for preferCache option #1541

Conversation

akashshyamdev
Copy link
Contributor

Hey,

This PR is based on the discussion we had [here] (#1279). I've updated the documentation, but still can't find the type which returns the trigger function. I saw a definition of a trigger() method that matched your description but it was part of the useLazyQuerySubscription and not useLazyQuery.

Looking forward to your reply! Thanks.

@netlify
Copy link

netlify bot commented Sep 22, 2021

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

🔨 Explore the source changes: 858e347

🔍 Inspect the deploy log: https://app.netlify.com/sites/redux-starter-kit-docs/deploys/6156de1c0013a3000722f6e8

😎 Browse the preview: https://deploy-preview-1541--redux-starter-kit-docs.netlify.app

@codesandbox-ci
Copy link

codesandbox-ci bot commented Sep 22, 2021

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 858e347:

Sandbox Source
Vanilla Configuration
Vanilla Typescript Configuration
rsk-github-issues-example Configuration
@examples-query-react/basic Configuration
@examples-query-react/advanced Configuration

@phryneas phryneas added this to the 1.7 milestone Sep 24, 2021
@phryneas
Copy link
Member

This should turn up here but I fear that our build caching is somehow interacting with that.
@markerikson it might be necessary that we disable that build caching again :(

As for the type of the trigger method, that would be this line I think:

(arg: QueryArgFrom<D>) => void,

@phryneas phryneas changed the base branch from master to v1.7.0-integration October 1, 2021 10:19
@phryneas phryneas merged commit b646eb4 into reduxjs:v1.7.0-integration Oct 1, 2021
markerikson pushed a commit that referenced this pull request Oct 5, 2021
Co-authored-by: Lenz Weber <lenz.weber@mayflower.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants