Skip to content

Commit 4a9414b

Browse files
committed
updated readmes
1 parent 7169882 commit 4a9414b

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,16 @@ React Query Rewind introduces a powerful DevTool extension designed to work in c
6666
import ReactQueryRewind from "../../node_modules/react-query-rewind/dist/esm/index.js";
6767
```
6868

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+
6979
3. Place ReactQueryRewind next to the root of your application inside the QueryClientProvider component.
7080

7181
```javascript

package-react/README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,16 @@ React Query Rewind introduces a powerful DevTool extension designed to work in c
5151
```javascript
5252
import ReactQueryRewind from "../../node_modules/react-query-rewind/dist/esm/index.js";
5353
```
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+
```
5464
5565
3. Place ReactQueryRewind next to the root of your application inside the QueryClientProvider component.
5666

0 commit comments

Comments
 (0)