Replies: 1 comment
-
I'd love to see this. I'm also considering tanstack vs react router v7 for my next project and their approach is interesting. They have both a loader and a clientLoader option whereby, if both are present, the result of loader on the server can be passed to clientLoader to use the hydrated data to warm up caches or populate client-side data stores. |
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
-
Is it possible to force a route loader to only run in the client? Server functions are awesome but I feel like Client functions would also be helpful for some use cases.
I'm using some client only stuff (eg deck.gl) and I think loaders would simplify some state but they can't run server side.
Beta Was this translation helpful? Give feedback.
All reactions