Skip to content
Source
Sign inSign up
TanStack/query

:bug: Fix restore loading not working when clicked repeatedly #5311

Mergedprateek3255(GitHub profile, opens in a new tab)merged 6 commits intomain fromrefs/pull/5311/headmerged by TkDodo View on GitHub

Fixes #5157

Checkout this comment for a detailed description of this change fixes the issue

    1. The latest updates on your projects. Learn more about Vercel for Git ↗︎

      1 Ignored Deployment
      NameStatusPreviewCommentsUpdated (UTC)
      query⬜️ Ignored (Inspect)Apr 28, 2023 2:28pm
    2. ☁️ Nx Cloud Report

      CI is running/has finished running commands for commit bcbac25d134418f7203feeb847999306ab834dbf. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.

      📂 See all runs for this branch


      ✅ Successfully ran 2 targets

    3. Sent with 💌 from NxCloud.

  • 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 bcbac25d134418f7203feeb847999306ab834dbf:

    SandboxSource
    @tanstack/query-example-react-basic-typescriptConfiguration
    @tanstack/query-example-solid-basic-typescriptConfiguration
    @tanstack/query-example-svelte-basicConfiguration
    @tanstack/query-example-vue-basicConfiguration
    react-query-dev-tools-trigger-loading-bugIssue #5157
  • Codecov Report

    Patch coverage: 75.00% and project coverage change: +88.80 :tada:

    Comparison is base (195772e) 0.00% compared to head (f3bdfc7) 88.80%.

    :mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

    Additional details and impacted files
    @@            Coverage Diff            @@
    ##           main    #5311       +/-   ##
    =========================================
    + Coverage      0   88.80%   +88.80%     
    =========================================
      Files         0       11       +11     
      Lines         0      643      +643     
      Branches      0      239      +239     
    =========================================
    + Hits          0      571      +571     
    - Misses        0       66       +66     
    - Partials      0        6        +6     
    Impacted FilesCoverage Δ
    packages/react-query-devtools/src/devtools.tsx88.88% <75.00%> (ø)

    ... and 10 files with indirect coverage changes

    Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

    :umbrella: View full report in Codecov by Sentry. :loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

  • TkDodo reviewed

    can you please add a test that covers this scenario? Ideally, one that failed before and doesn't fail after the fix 🙏

  • Added a test @TkDodo, also verified that it fails with the same error if I remove the fix: image

  • TkDodo approved these changes

  • TkDodo merged thisb97cd50

  • TkDodo closed this

  • Sign in to join this conversation.