Skip to content
Source
Sign inSign up
TanStack/query

Devtools not working on React Native Web #3943

Send to my agent
ClosedEstevete(GitHub profile, opens in a new tab) opened this issue 8 comments

Describe the bug

Devtools are not working on React Native Web anymore. In v3, it used to work.

Your minimal, reproducible example

https://github.com/TanStack/query/tree/main/examples/react/react-native example

Steps to reproduce

  1. Get the https://github.com/TanStack/query/tree/main/examples/react/react-native example
  2. In file App.tsx, import & add <ReactQueryDevtools /> inside QueryClientProvider
  3. Launch project
  4. If package expo-font missing, add it. (v10.0.3)

Expected behavior

Devtools should be displayed, like v3.

How often does this bug happen?

No response

Screenshots or Videos

No response

Platform

  • OS: Windows
  • Browser: Chrome
  • Version: 103.0.5060.134

react-query version

5.0.10

TypeScript version

4.3.5

Additional context

No response

  1. could this be related to #4017 and thus eventually to #3882 ?

    If you see null being rendered, my guess is that the wrong entry point is being picked up.

  2. TkDodo added labelspackage: react-query-devtools

  3. TkDodo added labelsesm

  4. I have the same problem in v4. The Dev tool icon is not showing up

  5. @Estevete @Fogh can you please try it out with v4.3.0-beta.0 ?

  6. @TkDodo on my side, the web app crash with the v4.3.0-beta.0 image

    Works well in 4.0.10, but without the DevTools.

  7. Which bundler are you using? Seems to be the same as:

  8. I use webpack 4.46.0 with Expo CLI

  9. @YZahringer @Fogh @Estevete can you please try out the latest beta version to see if it fixes your issue?

  10. Everything works fine on my side with Expo SDK 46 on Web. @TkDodo Thanks a lot 👍

  11. TkDodo closed this

  12. TkDodo added labelsreleased on @beta

Sign in to join this conversation.