diff --git a/docs/config.json b/docs/config.json index 2b1561d691a..a68832565dc 100644 --- a/docs/config.json +++ b/docs/config.json @@ -864,6 +864,10 @@ "label": "Window Focus Refetching", "to": "framework/preact/guides/window-focus-refetching" }, + { + "label": "Polling", + "to": "framework/preact/guides/polling" + }, { "label": "Disabling/Pausing Queries", "to": "framework/preact/guides/disabling-queries" diff --git a/docs/framework/preact/guides/polling.md b/docs/framework/preact/guides/polling.md new file mode 100644 index 00000000000..1421f4c30b1 --- /dev/null +++ b/docs/framework/preact/guides/polling.md @@ -0,0 +1,6 @@ +--- +id: polling +title: Polling +ref: docs/framework/react/guides/polling.md +replace: { '@tanstack/react-query': '@tanstack/preact-query' } +--- 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}