Skip to content

Add React Query devtools to the Shell #206

Description

@arbrandes

Description

shell/site.tsx already owns the top-level QueryClient and QueryClientProvider, making it the right home for React Query devtools. Individual apps (e.g. frontend-app-instructor-dashboard) are currently adding devtools themselves, which causes build failures in downstream consumers and leads to nested QueryClientProvider instances.

Since frontend-base ships its toolchain dependencies directly (webpack, babel, jest, etc.), @tanstack/react-query-devtools should be added to dependencies alongside the existing @tanstack/react-query peer dependency. Because it's a direct dependency it's always installed, so a static import is fine — no dynamic import needed. A process.env.NODE_ENV guard on the render is still required to keep the devtools out of production bundles.

Once this lands, the devtools import and render in frontend-app-instructor-dashboard/src/Main.tsx should be removed.

Activity

  1. added theissue type on Apr 2, 2026
  2. changed the title [-]Add React Query devtools to the shell[/-] [+]Add React Query devtools to the Shell[/+] on Apr 2, 2026
  3. self-assigned this
    on Apr 13, 2026
  4. moved this from Todo to In Progress in frontend-baseon Apr 13, 2026
  5. added 3 commits that reference this issue on Apr 13, 2026
    2d13313
    5e70708
    925b4ff
  6. moved this from In Progress to In Review in frontend-baseon Apr 13, 2026
  7. added a commit that references this issue on Apr 13, 2026
    babdc85
  8. openedx-semantic-release-bot commented on Apr 13, 2026

    @openedx-semantic-release-bot

    🎉 This issue has been resolved in version 1.0.0-alpha.25 🎉

    The release is available on:

    Your semantic-release bot 📦🚀

  9. moved this from In Review to Done in frontend-baseon Apr 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions