You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/devtools.md
+13-5Lines changed: 13 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,12 +9,20 @@ When you begin your React Query journey, you'll want these devtools by your side
9
9
10
10
> Please note that for now, the devtools **do not support React Native**. If you would like to help us make the devtools platform agnostic, please let us know!
11
11
12
-
## Import the Devtools
12
+
## Install and Import the Devtools
13
13
14
-
The devtools are bundle split into the `react-query/devtools` package. No need to install anything extra, just:
14
+
The devtools are a separate package that you need to install:
By default, React Query Devtools are only included in bundles when `process.env.NODE_ENV === 'development'`, so you don't need to worry about excluding them during a production build.
@@ -26,7 +34,7 @@ Floating Mode will mount the devtools as a fixed, floating element in your app a
26
34
Place the following code as high in your React app as you can. The closer it is to the root of the page, the better it will work!
0 commit comments