Tanstack Start doing doing server calls a bit different than React Server Components.
You can write the client and server logic in the same file and it replaces it with fetch calls when run on the client.
No "use client", no errors with client APIs in server components, etc..
watch at 0.5Γ π
You can write the client and server logic in the same file and it replaces it with fetch calls when run on the client.
No "use client", no errors with client APIs in server components, etc..
watch at 0.5Γ π
Comments
if you're using query, you can simply add a prefetch in your loaders
Run this in your console:
$('video[poster*="j5vm"]').playbackRate = 0.7;
Or visit tiktok, linkedin, instagram, π or threads to view
Took me 10 years, but now I listen to audiobooks at 2.5x while driving.
That definitely can be the go to framework
This seriously reminds me of Xajax (https://github.com/Xajax/Xajax?tab=readme-ov-file) I used ~15 years ago - it was such a gamechanger, unfortunately it never really took hold in the industry.
(I'm trying to solve a similar problem at work, and this was deemed "too magical")
Also Vite is pretty good at not letting secrets through
But there still in danger of not correctly marking a function as server function I think..