File tree 2 files changed +20
-0
lines changed
2 files changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -66,6 +66,16 @@ React Query Rewind introduces a powerful DevTool extension designed to work in c
66
66
import ReactQueryRewind from "../../node_modules/react-query-rewind/dist/esm/index.js";
67
67
` ` `
68
68
69
+ _OR_
70
+
71
+ ` ` ` javascript
72
+ import dynamic from 'next/dynamic'
73
+ const ReactQueryRewind = dynamic(
74
+ () => import('react-query-rewind').then((mod) => mod.default),
75
+ { ssr: false }
76
+ )
77
+ ` ` `
78
+
69
79
3. Place ReactQueryRewind next to the root of your application inside the QueryClientProvider component.
70
80
71
81
` ` ` javascript
Original file line number Diff line number Diff line change @@ -51,6 +51,16 @@ React Query Rewind introduces a powerful DevTool extension designed to work in c
51
51
` ` ` javascript
52
52
import ReactQueryRewind from " ../../node_modules/react-query-rewind/dist/esm/index.js" ;
53
53
` ` `
54
+
55
+ _OR_
56
+
57
+ ` ` ` javascript
58
+ import dynamic from ' next/dynamic'
59
+ const ReactQueryRewind = dynamic(
60
+ () => import(' react-query-rewind' ).then(( mod) => mod.default),
61
+ { ssr: false }
62
+ )
63
+ ```
54
64
55
65
3 . Place ReactQueryRewind next to the root of your application inside the QueryClientProvider component.
56
66
You can’t perform that action at this time.
0 commit comments