Skip to content

Commit 2ae2a7c

Browse files
committed
updated readme
1 parent 30139a6 commit 2ae2a7c

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

package-react/README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,13 @@ React Query Rewind introduces a powerful DevTool extension designed to work in c
4545
import ReactQueryRewind from "react-query-rewind";
4646
```
4747

48+
_Note: Some older versions of NextJS default to the commonJS version of the package, causing apps to error_
49+
_If you encounter this error, import the component with:_
50+
51+
```javascript
52+
import ReactQueryRewind from "../../node_modules/react-query-rewind/dist/esm/index.js";
53+
```
54+
4855
3. Place ReactQueryRewind next to the root of your application inside the QueryClientProvider component.
4956

5057
```javascript

0 commit comments

Comments
 (0)