-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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 @tanstack/query-devtools on legacy browsers #5997
Conversation
src/RootApp.tsx
Outdated
@@ -18,7 +18,9 @@ const RootApp = () => ( | |||
</WebConfigProvider> | |||
</UserSettingsProvider> | |||
</ApiProvider> | |||
<ReactQueryDevtools initialIsOpen={false} /> | |||
{window.Proxy && ( // '@tanstack/query-devtools' requires 'Proxy', which cannot be polyfilled for legacy browsers |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we also check browser.tv
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To hide it on TVs?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes since it makes navigation weird... although I have been thinking about adding a custom menu entry or something for it because I hate the floating button 😅
e0dd76f
to
0fbfda8
Compare
Quality Gate passedIssues Measures |
Cloudflare Pages deployment
|
Changes
@tanstack/query-devtools
to Babel.ReactQueryDevtools
on unsupported devices.Issues
N/A
development
build doesn't work on legacy devices.Remarks
We probably don't need it on TVs though - weird navigation.