badmonster 2 hours ago

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.

  • ivandalmet an hour ago

    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.

ivandalmet 15 hours ago

Start UI (web) is an open-source full-stack starter built on TanStack Start.

If you're tired of rebuilding the same setup for every project, this gives you a clean baseline so you can start coding features immediately.

Included : React + TypeScript structure, TanStack Start routing, loaders and server functions, Better auth, Prisma + migrations, Typed server and client boundaries, TailwindCSS + shadcn/ui, Unit and e2e tests, ESLint, Prettier, CI, Docker setup, Storybook and minimal design system

Repo: https://github.com/BearStudio/start-ui-web

We're trying to reach 2000 stars before Christmas. Your little star would help us reach that goal :)

Feedback and technical critiques are welcome.