Articles and guides about typescript — 3 posts
Build on your basic Next.js notes app by integrating a real database (Prisma + SQLite), implementing advanced routing patterns (route groups, parallel routes), mastering data caching and revalidation, adding search and pagination with URL search params, and using Zod for robust server action validation — all with a fruit-themed twist.
Move beyond basic generics and learn to use TypeScript's template literal types and recursive conditional types to build a type-safe automated report generator that validates report templates at compile time, preventing runtime errors from mismatched field names.
This tutorial teaches TypeScript generics through a comparison-based approach, using a command-line tool for music genre data as a running example. You'll move from basic generic functions to advanced contraints and utility types, gaining practical experience in type-safe programming.