Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions docs/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
6 changes: 6 additions & 0 deletions docs/framework/preact/guides/polling.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
id: polling
title: Polling
ref: docs/framework/react/guides/polling.md
replace: { '@tanstack/react-query': '@tanstack/preact-query' }
---
2 changes: 1 addition & 1 deletion docs/framework/svelte/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ Then call any function (e.g. createQuery) from any component:
</script>
<div>
{#if query.isLoading}
{#if query.isPending}
<p>Loading...</p>
{:else if query.isError}
<p>Error: {query.error.message}</p>
Expand Down
Loading