Tự viết lại Pick, Omit, Partial và utility type built-in bằng mapped type, conditional type và infer trong TypeScript
All posts
Chọn REST, SSE hay WebSocket cho app TypeScript: fetch đúng cách, API client type-safe, so sánh và bảo mật realtime.
Tối ưu tốc độ compile TypeScript: đo tsc bằng diagnostics, incremental, project references và giảm chi phí type-level
Class TypeScript: private vs #field, parameter properties, abstract class, implements interface và composition thực tế
Strict flags tsconfig.json cứu code: strictNullChecks, noUncheckedIndexedAccess, verbatimModuleSyntax và migrate an toàn
Dùng CVA quản lý CSS class variants type-safe trong React: VariantProps tự động, compound variants, tích hợp Zod
Zod: Validate Dữ Liệu Type-Safe Trong React
Mar 17, 2026Học Zod cho React: z.infer, parse/safeParse, coerce, optional, default và type guard validate dữ liệu thực tế
Typing props React TypeScript: ReactNode, ChangeEventHandler, ComponentPropsWithRef, discriminated union, as prop
Học TypeScript nâng cao cho React: Union, Discriminated Union, unknown/any/never, as const, Generics thực tế dễ hiểu
Hướng dẫn chi tiết về Counting Sort trong TypeScript: cách hoạt động, implementation, độ phức tạp và ứng dụng thực tế