Skip to content

Commit 7889007

Browse files
authored
Tanstack fixes (#128)
* fix links * simplify
1 parent c7fcdb1 commit 7889007

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

client-sdk-references/javascript-web/javascript-spa-frameworks.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: "Compatibility with SPA frameworks"
55

66
The PowerSync [JavaScript/Web SDK](../javascript-web) is compatible with popular Single-Page Application (SPA) frameworks like React, Vue, Angular, and Svelte. For [React](#react-hooks) and [Vue](#vue-composables) specifically, wrapper packages are available to support reactivity and live queries, making it easier for developers to leverage PowerSync's features.
77

8-
PowerSync also integrates with [TanStack Query for React](#powersync-tanstack-query) (details below). This integration provides a wide range of developer tools and paves the way for future live query support in other frameworks.
8+
PowerSync also integrates with [TanStack Query for React](#tanstack-query) (details below). This integration provides a wide range of developer tools and paves the way for future live query support in other frameworks.
99

1010
<Info>
1111
Notable community library:
@@ -19,7 +19,7 @@ For React or React Native apps:
1919

2020
* The [`@powersync/react`](#react-hooks) package is best for most basic use cases, especially when you only need reactive queries with loading and error states.
2121

22-
* For more advanced scenarios, such as query caching and pagination, TanStack is a powerful solution. The [`@powersync/tanstack-react-query`](#powersync-less-than-greater-than-tanstack) package extends the `useQuery` hook from `@powersync/react` and adds functionality from [TanStack Query](https://tanstack.com/query/latest/docs/framework/react/overview), making it a better fit for advanced use cases or performance-optimized apps.
22+
* For more advanced scenarios, such as query caching and pagination, TanStack is a powerful solution. The [`@powersync/tanstack-react-query`](#tanstack-query) package extends the `useQuery` hook from `@powersync/react` and adds functionality from [TanStack Query](https://tanstack.com/query/latest/docs/framework/react/overview), making it a better fit for advanced use cases or performance-optimized apps.
2323

2424
If you have a Vue app, use the Vue-specific package: [`@powersync/vue`](#vue-composables).
2525

@@ -41,7 +41,7 @@ The full API Reference and example code can be found here:
4141

4242
<Card title="React hooks for PowerSync | PowerSync JavaScript SDK Docs" icon="book" href="https://powersync-ja.github.io/powersync-js/react-sdk" horizontal />
4343

44-
## PowerSync \<> TanStack Query
44+
## TanStack Query
4545

4646
PowerSync integrates with [TanStack Query](https://tanstack.com/query/latest/docs/framework/react/overview) (formerly React Query) through the `@powersync/tanstack-react-query` package.
4747

0 commit comments

Comments
 (0)