ZeLinguist
TTCTheo's Typesafe Cult
•Created by utopia on 4/24/2024 in #questions
Tutotial - What settings to choose
1. Use TypeScript IF AND ONLY IF you're familiar with JavaScript. Learn TypeScript as soon as possible (after learning JavaScript). If you don't listen to me, you'll spend more time debugging type errors than building apps.
2. Use TailwindCSS IF AND ONLY IF you're familiar with CSS. Migrate from CSS to TailwindCSS after you start hating thinking of class names.
3. Use tRPC IF AND ONLY IF you're familiar with REST AND you genuinely need type-safety on the backend.
4. Use Drizzle because it doesn't abstract SQL as much as Prisma does. ORMs betters developer experience at the expense of performance.
5. Use the App router because past versions will deprecate.
6. Deploy PostgreSQL with Vercel using Vercel Postgres. The t3 stack lets you use one database for all your projects because it prefixes your table names with your project name. You can also deploy SQLite with Turso.
4 replies
TTCTheo's Typesafe Cult
•Created by ZeLinguist on 4/24/2024 in #questions
HELP ME w/ SIMPLE CSS/FLEXBOX
ANSWER: follow the cascade up and keep defining the height of the (grand)parent(s) of what you want to grow. Make sure that you apply flex everywhere you grow because grow is a flexbox class.
2 replies