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
Dòng thời gian React từ version 15 tới 19: Fiber, Hooks, Concurrent, Actions — mỗi cột mốc ra đời để giải quyết gì.
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
Tính năng React 19: Actions, useActionState, useFormStatus, useOptimistic, hook use() và ref as prop thay forwardRef.
Automatic batching React 18 và cách chủ động gộp async task bằng debounce, Promise.all, useTransition để giảm re-render.
Concurrent rendering React 18: startTransition, useTransition, useDeferredValue và Suspense giữ UI mượt khi render.
Map lifecycle class component React sang functional hooks: useEffect, useLayoutEffect, React.memo và error boundary.