-
Do TanStack Router's Loader and Actions have overlapping functionality with TanStack Query's Queries and Mutations? If my understanding is incorrect, are there any examples combining the features of both? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 9 replies
-
For example: |
Beta Was this translation helpful? Give feedback.
-
I think I understand now. Loaders and Actions no longer exist, which is why I was wondering previously why their versions were stuck at 0.0.1-beta.204. It is now recommended to use TanStack Query instead. |
Beta Was this translation helpful? Give feedback.
-
The router still has very basic loader functionality built in. It should handle many use cases, but also integrate well with Query when you need it.
…On Nov 30, 2023 at 9:57 PM -0700, 王恒 ***@***.***>, wrote:
I think I understand now. Loaders and Actions no longer exist, which is why I was wondering previously why their versions were stuck at 0.0.1-beta.204. It is now recommended to use TanStack Query instead.
image.png (view on web)
image.png (view on web)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
I think I understand now. Loaders and Actions no longer exist, which is why I was wondering previously why their versions were stuck at 0.0.1-beta.204. It is now recommended to use TanStack Query instead.