Skip to content

feat: add React Query devtools to the shell#221

Merged
arbrandes merged 1 commit intoopenedx:mainfrom
arbrandes:arbrandes/react-query-devtools
Apr 13, 2026
Merged

feat: add React Query devtools to the shell#221
arbrandes merged 1 commit intoopenedx:mainfrom
arbrandes:arbrandes/react-query-devtools

Conversation

@arbrandes
Copy link
Copy Markdown
Contributor

Description

shell/site.tsx already owns the top-level QueryClient and QueryClientProvider, making it the natural place for React Query devtools. This adds @tanstack/react-query-devtools as a direct dependency and renders it inside the shell's QueryClientProvider, guarded by process.env.NODE_ENV === 'development' so it's excluded from production bundles.

With devtools centralized in the shell, individual apps no longer need to add them separately.

Closes #206

LLM usage notice

Built with assistance from Claude.

@arbrandes arbrandes force-pushed the arbrandes/react-query-devtools branch from 2d13313 to 5e70708 Compare April 13, 2026 11:49
Closes openedx#206

Co-Authored-By: Claude <noreply@anthropic.com>
@arbrandes arbrandes force-pushed the arbrandes/react-query-devtools branch from 5e70708 to 925b4ff Compare April 13, 2026 11:53
@arbrandes arbrandes merged commit babdc85 into openedx:main Apr 13, 2026
5 checks passed
@arbrandes arbrandes deleted the arbrandes/react-query-devtools branch April 13, 2026 15:34
@openedx-semantic-release-bot
Copy link
Copy Markdown

🎉 This PR is included in version 1.0.0-alpha.25 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add React Query devtools to the Shell

4 participants