Skip to content

Commit

Permalink
Merge pull request #84 from oslabs-beta/john/readme
Browse files Browse the repository at this point in the history
John/readme
  • Loading branch information
johnwdunn20 authored Jul 25, 2024
2 parents 7e1bcd4 + b4a5477 commit c515859
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 3 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,16 @@ React Query Rewind introduces a powerful DevTool extension designed to work in c
import ReactQueryRewind from "../../node_modules/react-query-rewind/dist/esm/index.js";
```

_OR_

```javascript
import dynamic from 'next/dynamic'
const ReactQueryRewind = dynamic(
() => import('react-query-rewind').then((mod) => mod.default),
{ ssr: false }
)
```

3. Place ReactQueryRewind next to the root of your application inside the QueryClientProvider component.

```javascript
Expand Down
10 changes: 10 additions & 0 deletions package-react/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,16 @@ React Query Rewind introduces a powerful DevTool extension designed to work in c
```javascript
import ReactQueryRewind from "../../node_modules/react-query-rewind/dist/esm/index.js";
```

_OR_

```javascript
import dynamic from 'next/dynamic'
const ReactQueryRewind = dynamic(
() => import('react-query-rewind').then((mod) => mod.default),
{ ssr: false }
)
```
3. Place ReactQueryRewind next to the root of your application inside the QueryClientProvider component.
Expand Down
2 changes: 1 addition & 1 deletion package-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"type": "git",
"url": "git+https://github.com/oslabs-beta/react-query-rewind.git"
},
"version": "2.1.12",
"version": "2.1.13",
"description": "React Query Rewind is a library that helps developers debug applications that use React Query (ie TanStack Query) by letting them time travel through state changes directly in their chrome dev tools",
"keywords": [
"react",
Expand Down
2 changes: 1 addition & 1 deletion package-svelte/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"type": "git",
"url": "git+https://github.com/oslabs-beta/react-query-rewind.git"
},
"version": "1.1.9",
"version": "1.1.10",
"description": "Svelte Query Rewind is a library that helps developers debug applications that use React Query (ie TanStack Query) by letting them time travel through state changes directly in their chrome dev tools",
"keywords": [
"svelte",
Expand Down
2 changes: 1 addition & 1 deletion package-vue/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@react-query-rewind/vue-query-rewind",
"version": "1.1.10",
"version": "1.1.11",
"description": "Vue Query Rewind is a library that helps developers debug applications that use React Query (ie TanStack Query) by letting them time travel through state changes directly in their chrome dev tools",
"type": "module",
"files": [
Expand Down

0 comments on commit c515859

Please sign in to comment.