Replies: 1 comment
-
|
have a look at https://tanstack.com/start/latest/docs/framework/react/guide/static-server-functions |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I have some data heavy application, and I prerender:
//page/$idIf I access
page/1directly, the app is blazing fast as theloaderalready prefetched all the required data via react-query prefetchInfiniteQuery etc at build time.When I navigate from
/topage/1, the cache is not utilized, though, so it's creepingly slow.Is there some way with tanstack start to serve prerender data trough spa navigation?
I guess that would mean prerendering the data to json or sth and than inject/fetch it on navigation.
Beta Was this translation helpful? Give feedback.
All reactions