From 5e658ed0fe22cc6f59004ef1aba8f779aed1dd10 Mon Sep 17 00:00:00 2001 From: maxtaran2010 Date: Thu, 9 Jul 2026 23:58:05 +0300 Subject: [PATCH] fix: correct spelling typos across docs, examples, and source comments - homogenous -> homogeneous in 7 useQueries/createQueries source files - stoage -> storage in react and vue createPersister docs - supressed -> suppressed in react and angular pagination examples - compoennts -> components in solid-start-streaming example Co-Authored-By: Claude Sonnet 4.6 --- docs/framework/react/plugins/createPersister.md | 2 +- docs/framework/vue/plugins/createPersister.md | 2 +- .../pagination/src/app/components/example.component.html | 2 +- examples/react/pagination/src/pages/index.tsx | 2 +- examples/solid/solid-start-streaming/src/routes/with-error.tsx | 2 +- packages/angular-query-experimental/src/inject-queries.ts | 2 +- packages/preact-query/src/useQueries.ts | 2 +- packages/preact-query/src/useSuspenseQueries.ts | 2 +- packages/react-query/src/useQueries.ts | 2 +- packages/solid-query/src/useQueries.ts | 2 +- packages/svelte-query/src/createQueries.svelte.ts | 2 +- packages/vue-query/src/useQueries.ts | 2 +- 12 files changed, 12 insertions(+), 12 deletions(-) diff --git a/docs/framework/react/plugins/createPersister.md b/docs/framework/react/plugins/createPersister.md index 0b59b216ce1..e98b4377064 100644 --- a/docs/framework/react/plugins/createPersister.md +++ b/docs/framework/react/plugins/createPersister.md @@ -106,7 +106,7 @@ If `query` is `expired`, `busted` or `malformed` it would be removed from the st ### `persisterGc(): Promise` -This function can be used to sporadically clean up stoage from `expired`, `busted` or `malformed` entries. +This function can be used to sporadically clean up storage from `expired`, `busted` or `malformed` entries. For this function to work, your storage must expose `entries` method that would return a `key-value tuple array`. For example `Object.entries(localStorage)` for `localStorage` or `entries` from `idb-keyval`. diff --git a/docs/framework/vue/plugins/createPersister.md b/docs/framework/vue/plugins/createPersister.md index 49e1f669ba8..abb9d4db33d 100644 --- a/docs/framework/vue/plugins/createPersister.md +++ b/docs/framework/vue/plugins/createPersister.md @@ -103,7 +103,7 @@ If `query` is `expired`, `busted` or `malformed` it would be removed from the st ### `persisterGc(): Promise` -This function can be used to sporadically clean up stoage from `expired`, `busted` or `malformed` entries. +This function can be used to sporadically clean up storage from `expired`, `busted` or `malformed` entries. For this function to work, your storage must expose `entries` method that would return a `key-value tuple array`. For example `Object.entries(localStorage)` for `localStorage` or `entries` from `idb-keyval`. diff --git a/examples/angular/pagination/src/app/components/example.component.html b/examples/angular/pagination/src/app/components/example.component.html index b6ffc8c1289..e45484a8922 100644 --- a/examples/angular/pagination/src/app/components/example.component.html +++ b/examples/angular/pagination/src/app/components/example.component.html @@ -2,7 +2,7 @@

In this example, each page of data remains visible as the next page is fetched. The buttons and capability to proceed to the next page are also - supressed until the next page cursor is known. Each page is cached as a + suppressed until the next page cursor is known. Each page is cached as a normal query too, so when going to previous pages, you'll see them instantaneously while they are also refetched invisibly in the background.

diff --git a/examples/react/pagination/src/pages/index.tsx b/examples/react/pagination/src/pages/index.tsx index 64eec265f0c..dee4d49af67 100644 --- a/examples/react/pagination/src/pages/index.tsx +++ b/examples/react/pagination/src/pages/index.tsx @@ -54,7 +54,7 @@ function Example() {

In this example, each page of data remains visible as the next page is fetched. The buttons and capability to proceed to the next page are also - supressed until the next page cursor is known. Each page is cached as a + suppressed until the next page cursor is known. Each page is cached as a normal query too, so when going to previous pages, you'll see them instantaneously while they are also refetched invisibly in the background. diff --git a/examples/solid/solid-start-streaming/src/routes/with-error.tsx b/examples/solid/solid-start-streaming/src/routes/with-error.tsx index e437d9444b5..5de6ca7046e 100644 --- a/examples/solid/solid-start-streaming/src/routes/with-error.tsx +++ b/examples/solid/solid-start-streaming/src/routes/with-error.tsx @@ -13,7 +13,7 @@ export default function Streamed() {

For more control over error handling, try leveraging the `Switch` component and watching the reactive `query.isError` property. See - `compoennts/query-boundary.tsx` for one possible approach. + `components/query-boundary.tsx` for one possible approach.

diff --git a/packages/angular-query-experimental/src/inject-queries.ts b/packages/angular-query-experimental/src/inject-queries.ts index 2f201799e74..d61a937a3c2 100644 --- a/packages/angular-query-experimental/src/inject-queries.ts +++ b/packages/angular-query-experimental/src/inject-queries.ts @@ -159,7 +159,7 @@ export type QueriesOptions< > : ReadonlyArray extends T ? T - : // If T is *some* array but we couldn't assign unknown[] to it, then it must hold some known/homogenous type! + : // If T is *some* array but we couldn't assign unknown[] to it, then it must hold some known/homogeneous type! // use this to infer the param types in the case of Array.map() argument T extends Array< QueryObserverOptionsForCreateQueries< diff --git a/packages/preact-query/src/useQueries.ts b/packages/preact-query/src/useQueries.ts index be57d2aebd6..7e30658b843 100644 --- a/packages/preact-query/src/useQueries.ts +++ b/packages/preact-query/src/useQueries.ts @@ -162,7 +162,7 @@ export type QueriesOptions< > : ReadonlyArray extends T ? T - : // If T is *some* array but we couldn't assign unknown[] to it, then it must hold some known/homogenous type! + : // If T is *some* array but we couldn't assign unknown[] to it, then it must hold some known/homogeneous type! // use this to infer the param types in the case of Array.map() argument T extends Array< UseQueryOptionsForUseQueries< diff --git a/packages/preact-query/src/useSuspenseQueries.ts b/packages/preact-query/src/useSuspenseQueries.ts index 017c34328c2..191c25458c3 100644 --- a/packages/preact-query/src/useSuspenseQueries.ts +++ b/packages/preact-query/src/useSuspenseQueries.ts @@ -125,7 +125,7 @@ export type SuspenseQueriesOptions< > : Array extends T ? T - : // If T is *some* array but we couldn't assign unknown[] to it, then it must hold some known/homogenous type! + : // If T is *some* array but we couldn't assign unknown[] to it, then it must hold some known/homogeneous type! // use this to infer the param types in the case of Array.map() argument T extends Array< UseSuspenseQueryOptions< diff --git a/packages/react-query/src/useQueries.ts b/packages/react-query/src/useQueries.ts index de179837a5f..5f5261a870e 100644 --- a/packages/react-query/src/useQueries.ts +++ b/packages/react-query/src/useQueries.ts @@ -162,7 +162,7 @@ export type QueriesOptions< > : ReadonlyArray extends T ? T - : // If T is *some* array but we couldn't assign unknown[] to it, then it must hold some known/homogenous type! + : // If T is *some* array but we couldn't assign unknown[] to it, then it must hold some known/homogeneous type! // use this to infer the param types in the case of Array.map() argument T extends Array< UseQueryOptionsForUseQueries< diff --git a/packages/solid-query/src/useQueries.ts b/packages/solid-query/src/useQueries.ts index bf0a17cd6ad..51a2666982f 100644 --- a/packages/solid-query/src/useQueries.ts +++ b/packages/solid-query/src/useQueries.ts @@ -142,7 +142,7 @@ type QueriesOptions< > : ReadonlyArray extends T ? T - : // If T is *some* array but we couldn't assign unknown[] to it, then it must hold some known/homogenous type! + : // If T is *some* array but we couldn't assign unknown[] to it, then it must hold some known/homogeneous type! // use this to infer the param types in the case of Array.map() argument T extends Array< UseQueryOptionsForUseQueries< diff --git a/packages/svelte-query/src/createQueries.svelte.ts b/packages/svelte-query/src/createQueries.svelte.ts index dec57561299..7f46ddf33ab 100644 --- a/packages/svelte-query/src/createQueries.svelte.ts +++ b/packages/svelte-query/src/createQueries.svelte.ts @@ -144,7 +144,7 @@ export type QueriesOptions< > : ReadonlyArray extends T ? T - : // If T is *some* array but we couldn't assign unknown[] to it, then it must hold some known/homogenous type! + : // If T is *some* array but we couldn't assign unknown[] to it, then it must hold some known/homogeneous type! // use this to infer the param types in the case of Array.map() argument T extends Array< CreateQueryOptionsForCreateQueries< diff --git a/packages/vue-query/src/useQueries.ts b/packages/vue-query/src/useQueries.ts index f290976a145..43066a54846 100644 --- a/packages/vue-query/src/useQueries.ts +++ b/packages/vue-query/src/useQueries.ts @@ -185,7 +185,7 @@ export type UseQueriesOptions< > : ReadonlyArray extends T ? T - : // If T is *some* array but we couldn't assign unknown[] to it, then it must hold some known/homogenous type! + : // If T is *some* array but we couldn't assign unknown[] to it, then it must hold some known/homogeneous type! // use this to infer the param types in the case of Array.map() argument T extends Array< UseQueryOptionsForUseQueries<