Re:Show HN: Open-source full-stack starter built on TanStack...
by ivandalmet on Wednesday December 03, 2025 @12:51AM
(#46130716)
We use Tanstack Query for data fetching with query and mutation options auto generated by oRPC.
For auth setup, Better Auth is so good that is handling everything from server to client. Better Auth is just so amazing that is the first time that using auth is enjoyable! For protected routes with just check Auth and roles with better Auth in an orpc middleware.
Also, regarding the auth setup with Better Auth - how do you handle session persistence across server and client boundaries? I've found this to be one of the trickier aspects of full-stack React frameworks, especially when dealing with protected routes that need SSR.