From 29b14b8e066b7841ec6333f1a72848483aa71c4b Mon Sep 17 00:00:00 2001 From: VitaliPri Date: Fri, 26 Jun 2026 13:07:21 -0400 Subject: [PATCH] docs(svelte): replace deprecated isLoading with isPending in overview `isLoading` is a deprecated alias for `isPending && isFetching` and is scheduled for removal in the next major version. The overview example shows a standard (always-enabled) query, so `isPending` is the correct flag. All other framework overview docs (React, Vue, Angular, Lit, Preact) already use `isPending`. Note: `isLoading` is intentionally retained in disabling-queries guides where it is the right flag for disabled/lazy queries. Co-Authored-By: Claude Sonnet 4.6 --- docs/framework/svelte/overview.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/framework/svelte/overview.md b/docs/framework/svelte/overview.md index 8be6de78d34..980718456d1 100644 --- a/docs/framework/svelte/overview.md +++ b/docs/framework/svelte/overview.md @@ -37,7 +37,7 @@ Then call any function (e.g. createQuery) from any component:
- {#if query.isLoading} + {#if query.isPending}

Loading...

{:else if query.isError}

Error: {query.error.message}