Code
Tổng hợp các bài viết chuyên sâu được gắn thẻ #Code.

Có lẽ thứ giới hạn nếu có là trí tưởng tượng.
Khi AI viết code ngày càng giỏi, kỹ năng nào còn đáng giữ? Góc nhìn cá nhân và hành trình làm 4 app trong thời gian rảnh, từ ý tưởng tới App Store.

Ứng dụng di động đầu tiên
Mình vừa phát hành thành công ứng dụng di động đầu tiên lên App Store với gần như không chút kinh nghiệm trước đó

Sửa lỗi Husky Precommit trên GitHub Desktop trên Windows
Hãy cùng sửa các lỗi hook Git pre-commit của Husky trên GitHub Desktop trên Windows nhé!

Tại sao useEffect liên tục chạy ngay cả khi các dependency không thay đổi?
Tại sao useEffect liên tục chạy ngay cả khi các giá trị không thay đổi? (Giải thích về React)

Đây không phải tiến hóa. Đây là nén.
AI không thay thế người biết làm việc — nó thay thế cách làm việc cũ của những người không chịu tiến hóa.

How to Fix Node.js "Application Error" on Azure when using GitHub Actions
Node.js app not working on Azure? The issue might be your start script. See how to override the startup command in GitHub Actions and fix it for good.

reverse() in React can surprise you — here’s why (and how to fix it)
Array.prototype.reverse() mutates the original array. Inside a React render—especially Strict Mode—that can shuffle your UI. Here’s a safe pattern.

MongoDB returns results in different order each time, why?
Discover how MongoDB may return results in different order when sorting with sort(), and/or skip(), limit()

Authorize your requests to secured endpoints in Postman programmatically!
This script runs before the request, automatically updating your authorization token to ensure it's always valid.

Developer Terminal Productivity: Setting up Aliases on macOS & Windows
Learn how to create persistent command aliases on both macOS (Zsh/Bash) and Windows (PowerShell) to speed up your daily developer workflow.

Dynamic Preview Image | Every URL Deserves a Beautiful Preview
Dynamic Open Graph images create beautiful, real-time preview cards for your links — designed to catch attention and increase engagement.

TypeScript + Google Places API (Text Search)
The official @googlemaps/places client lags behind Text Search. This walkthrough builds a small TypeScript wrapper against the current Places API.

IndexedDB vs. localStorage: The Best Way to Store Large Data in the Browser
localStorage tops out around 5MB and only stores strings. IndexedDB is the better fit when you cache images or structured search results in the browser.

A solution that saves me a LOT of time - work smarter not harder
A repetitive, error-prone task ate half a day. Here’s the boring-but-effective shortcut I used so I didn’t keep doing the same click over and over.
Use Lodash's debounce in React applications
Understanding useMemo, useCallback with debounce: Avoiding Unnecessary Function Re-Creations

Ensuring You’re Always Getting the Latest Data from Browser Storage
Let's say, you're implementing a feature that functions based on the browser's storage, such as local storage or session storage.

Nâng cấp thư viện, nên hay không nên
Góc nhìn thực tế về việc nâng cấp thư viện phần mềm: khi nào nên làm và khi nào nên giữ nguyên để đảm bảo độ ổn định của hệ thống.

How to implement a Markdown editor in React?
A practical React Markdown editor setup: what Markdown actually is, which libraries to reach for, and how to wire a live preview without fighting the tree.

Integrate Unsplash API to Next.js applications
Hook Unsplash’s free Developers API into a Next.js app so you can search and embed photos from your own UI, without leaving the product.

How to publish Next.js components to NPM
Have you ever been thinking about how to publish a React Component to a registry such as NPM so that it can be installed and used by several React applications?

How to use BlurHash strings in React, Next.js
BlurHash strings benefit the web performance. But it may not work if we don't know how to use them. Let me show you how.

Fix React Strict Mode renders twice in development
React Strict Mode double-invokes render in development. If you need an action to run once without turning Strict Mode off, this is the escape hatch.

Timeout requests in JavaScript
While JS continuing to evolve, there are several built-in support methods that we can easily signal a timeout for a long-run request.

Three common normal forms in a nutshell
1NF, 2NF, and 3NF in plain language: why database normalization exists, what each form actually requires, and when the extra effort pays off.

Fix duplicate files caused by case-insensitive naming
git mv -f still left two files that differ only by case. This is the Windows/macOS case-insensitive trap, and the sequence that actually fixes it.