Overview of the T4 Stack technologies
masterThe T4 Stack is a universal web and native stack designed for high performance and rapid development. It integrates several key technologies:
- Frontend: Next.js (Web) and Expo (Native) using Solito for unified routing.
- UI Kit: Tamagui for responsive, cross-platform styling.
- Data Fetching: tRPC for end-to-end typesafe APIs, combined with TanStack Query for caching and state management.
- State Management: Jotai for global state.
- Backend: Hono running on Cloudflare Workers.
- Database: Cloudflare D1 (SQLite) managed via Drizzle ORM.
- Type Validation: Valibot (with support for generating Valibot Type Guards from Drizzle schemas).
- Performance: Million.js (Virtual DOM replacement) and PattyCake (zero-runtime pattern matching).
- Authentication: Supabase Auth.