-
|
For some reason, we want to enable the devtools in production for developers to debug the app. import { ReactQueryDevtools } from 'react-query/devtools/development';but in v4, it doesn't seem to provide an entry point for the same purpose. import { ReactQueryDevtools } from '@tanstack/react-query-devtools/src/devtools';
// and
import { ReactQueryDevtools } from '@tanstack/react-query-devtools/build/cjs/packages/react-query-devtools/src/devtools';but they didn't work and with an error from webpack: Is there any good way to open the devtools in production with v4? My environment: |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
|
We'll re-add that feature once we have merged the ESM bundling branch. |
Beta Was this translation helpful? Give feedback.
-
|
@TkDodo It still doesn't start the devtools in v5 and above "@tanstack/react-query": "^5.14.2", |
Beta Was this translation helpful? Give feedback.
We'll re-add that feature once we have merged the ESM bundling branch.