Skip to content

Commit 14c4b98

Browse files
authored
Merge branch 'main' into feat/pass-context-to-mutationFn
2 parents 109ed91 + be20804 commit 14c4b98

112 files changed

Lines changed: 1589 additions & 982 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

docs/config.json

Lines changed: 468 additions & 460 deletions
Large diffs are not rendered by default.

docs/framework/angular/devtools.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,3 +60,6 @@ import { Component } from '@angular/core';
6060
- Use this to predefine some errors that can be triggered on your queries. Initializer will be called (with the specific query) when that error is toggled on from the UI. It must return an Error.
6161
- `styleNonce?: string`
6262
- Use this to pass a nonce to the style tag that is added to the document head. This is useful if you are using a Content Security Policy (CSP) nonce to allow inline styles.
63+
- `shadowDOMTarget?: ShadowRoot`
64+
- Default behavior will apply the devtool's styles to the head tag within the DOM.
65+
- Use this to pass a shadow DOM target to the devtools so that the styles will be applied within the shadow DOM instad of within the head tag in the light DOM.

docs/framework/react/devtools.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ When you begin your React Query journey, you'll want these devtools by your side
99

1010
> 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!
1111
12-
> Exciting News: We now have a seperate package for React Native React Query DevTools! This new addition brings native support, allowing you to integrate DevTools directly into your React Native projects. Check it out and contribute here: [react-native-react-query-devtools](<https://github.com/LovesWorking/react-query-external-sync](https://github.com/LovesWorking/react-native-react-query-devtools)>)
12+
> Exciting News: We now have a seperate package for React Native React Query DevTools! This new addition brings native support, allowing you to integrate DevTools directly into your React Native projects. Check it out and contribute here: [react-native-react-query-devtools](https://github.com/LovesWorking/react-native-react-query-devtools)
1313
14-
> An external tool is also available that enables the use of React Query DevTools via an external dashboard. Find out more and contribute on [react-query-external-sync](https://github.com/LovesWorking/react-query-external-sync)..
14+
> An external tool is also available that enables the use of React Query DevTools via an external dashboard. Find out more and contribute on [react-query-external-sync](https://github.com/LovesWorking/react-query-external-sync)
1515
1616
> Also note that you can use these devtools to observe queries, but **not mutations**
1717
@@ -75,6 +75,9 @@ function App() {
7575
- Use this to predefine some errors that can be triggered on your queries. Initializer will be called (with the specific query) when that error is toggled on from the UI. It must return an Error.
7676
- `styleNonce?: string`
7777
- Use this to pass a nonce to the style tag that is added to the document head. This is useful if you are using a Content Security Policy (CSP) nonce to allow inline styles.
78+
- `shadowDOMTarget?: ShadowRoot`
79+
- Default behavior will apply the devtool's styles to the head tag within the DOM.
80+
- Use this to pass a shadow DOM target to the devtools so that the styles will be applied within the shadow DOM instad of within the head tag in the light DOM.
7881

7982
## Devtools in production
8083

docs/framework/react/react-native.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ export function useFocusNotifyOnChangeProps(
112112
return notifyOnChangeProps()
113113
}
114114

115-
return notifyOnChangeProps.current
115+
return notifyOnChangeProps
116116
}
117117
}
118118
```

docs/framework/solid/devtools.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,3 +66,6 @@ function App() {
6666
- Use this to predefine some errors that can be triggered on your queries. Initializer will be called (with the specific query) when that error is toggled on from the UI. It must return an Error.
6767
- `styleNonce?: string`
6868
- Use this to pass a nonce to the style tag that is added to the document head. This is useful if you are using a Content Security Policy (CSP) nonce to allow inline styles.
69+
- `shadowDOMTarget?: ShadowRoot`
70+
- Default behavior will apply the devtool's styles to the head tag within the DOM.
71+
- Use this to pass a shadow DOM target to the devtools so that the styles will be applied within the shadow DOM instad of within the head tag in the light DOM.

docs/framework/vue/devtools.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,3 +62,6 @@ import { VueQueryDevtools } from '@tanstack/vue-query-devtools'
6262
- Use this to predefine some errors that can be triggered on your queries. Initializer will be called (with the specific query) when that error is toggled on from the UI. It must return an Error.
6363
- `styleNonce?: string`
6464
- Use this to pass a nonce to the style tag that is added to the document head. This is useful if you are using a Content Security Policy (CSP) nonce to allow inline styles.
65+
- `shadowDOMTarget?: ShadowRoot`
66+
- Default behavior will apply the devtool's styles to the head tag within the DOM.
67+
- Use this to pass a shadow DOM target to the devtools so that the styles will be applied within the shadow DOM instad of within the head tag in the light DOM.

examples/angular/basic/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"@angular/platform-browser": "^17.1.3",
1818
"@angular/platform-browser-dynamic": "^17.1.3",
1919
"@angular/router": "^17.1.3",
20-
"@tanstack/angular-query-experimental": "^5.26.2",
20+
"@tanstack/angular-query-experimental": "^5.27.5",
2121
"rxjs": "^7.8.1",
2222
"tslib": "^2.6.2",
2323
"zone.js": "^0.14.3"
@@ -26,7 +26,7 @@
2626
"@angular-devkit/build-angular": "^17.1.3",
2727
"@angular/cli": "^17.1.3",
2828
"@angular/compiler-cli": "^17.1.3",
29-
"@tanstack/angular-query-devtools-experimental": "^5.26.2",
29+
"@tanstack/angular-query-devtools-experimental": "^5.27.8",
3030
"typescript": "5.2.2"
3131
},
3232
"overrides": {

examples/angular/infinite-query-with-max-pages/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"@angular/platform-browser": "^17.1.3",
1818
"@angular/platform-browser-dynamic": "^17.1.3",
1919
"@angular/router": "^17.1.3",
20-
"@tanstack/angular-query-experimental": "^5.26.2",
20+
"@tanstack/angular-query-experimental": "^5.27.5",
2121
"rxjs": "^7.8.1",
2222
"tslib": "^2.6.2",
2323
"zone.js": "^0.14.3"
@@ -26,7 +26,7 @@
2626
"@angular-devkit/build-angular": "^17.1.3",
2727
"@angular/cli": "^17.1.3",
2828
"@angular/compiler-cli": "^17.1.3",
29-
"@tanstack/angular-query-devtools-experimental": "^5.26.2",
29+
"@tanstack/angular-query-devtools-experimental": "^5.27.8",
3030
"typescript": "5.2.2"
3131
},
3232
"overrides": {

examples/angular/router/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"@angular/platform-browser": "^17.1.3",
1818
"@angular/platform-browser-dynamic": "^17.1.3",
1919
"@angular/router": "^17.1.3",
20-
"@tanstack/angular-query-experimental": "^5.26.2",
20+
"@tanstack/angular-query-experimental": "^5.27.5",
2121
"rxjs": "^7.8.1",
2222
"tslib": "^2.6.2",
2323
"zone.js": "^0.14.3"
@@ -26,7 +26,7 @@
2626
"@angular-devkit/build-angular": "^17.1.3",
2727
"@angular/cli": "^17.1.3",
2828
"@angular/compiler-cli": "^17.1.3",
29-
"@tanstack/angular-query-devtools-experimental": "^5.26.2",
29+
"@tanstack/angular-query-devtools-experimental": "^5.27.8",
3030
"typescript": "5.2.2"
3131
},
3232
"overrides": {

examples/angular/simple/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"@angular/platform-browser": "^17.1.3",
1818
"@angular/platform-browser-dynamic": "^17.1.3",
1919
"@angular/router": "^17.1.3",
20-
"@tanstack/angular-query-experimental": "^5.26.2",
20+
"@tanstack/angular-query-experimental": "^5.27.5",
2121
"rxjs": "^7.8.1",
2222
"tslib": "^2.6.2",
2323
"zone.js": "^0.14.3"
@@ -26,7 +26,7 @@
2626
"@angular-devkit/build-angular": "^17.1.3",
2727
"@angular/cli": "^17.1.3",
2828
"@angular/compiler-cli": "^17.1.3",
29-
"@tanstack/angular-query-devtools-experimental": "^5.26.2",
29+
"@tanstack/angular-query-devtools-experimental": "^5.27.8",
3030
"typescript": "5.2.2"
3131
},
3232
"overrides": {

0 commit comments

Comments
 (0)