News for hackers. Stuff that matters.
Re:Show HN: Open-source full-stack starter built on TanStack... by badmonster on Wednesday December 03, 2025 @12:01AM (#46130482)
Great timing with TanStack Start's recent release! I'm interested in your architectural decisions - how are you handling data fetching patterns? Are you using TanStack Query for client-side state management, or leaning more heavily on server functions with Start's RSC-like capabilities?

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.

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.