Skip to content
Source
Sign inSign up
TanStack/query

feat(query-devtools): Lazyload Query Devtools Core #5527

Mergedardeora(GitHub profile, opens in a new tab)merged 1 commit intoalpha fromrefs/pull/5527/headmerged by ardeora(GitHub profile, opens in a new tab) View on GitHub

This change introduces a lazy load mechanism for devtools core package.

In this approach, the devtools component will only be loaded once the mount() function is executed. For example, In React, the mount function can be run in a useEffect that only runs on the client. This provides a way to provide out-of-the-box support for SSR frameworks like Next

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

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

      CI is running/has finished running commands for commit 36676d2ad0145340f5fa668e8cd80303810b6b31. 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.

  • Codecov Report

    Patch and project coverage have no change.

    Comparison is base (110b4df) 88.86% compared to head (36676d2) 88.86%.

    :exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

    Additional details and impacted files
    @@           Coverage Diff           @@
    ##            alpha    #5527   +/-   ##
    =======================================
      Coverage   88.86%   88.86%           
    =======================================
      Files          70       70           
      Lines        2380     2380           
      Branches      621      621           
    =======================================
      Hits         2115     2115           
      Misses        219      219           
      Partials       46       46           

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

  • Sign in to join this conversation.