Blog

Why I Hate Lodash

This article explains why I hate Lodash, including usage scenarios and implementation details, to improve understanding …

· 2 min
JavaScript

NPM Dependency Model

This article introduces the npm dependency model, including its advantages, implementation details, and related …

· 2 min
Node.js

query-string@5 vs 6

This article provides an introduction to query-string@5 vs 6, including their advantages, implementation details, and …

· 2 min

Investigating Real‑Time Search Result Errors

Why type‑ahead shows stale results and how to fix it: cancel pending requests and show loading states.

· 2 min

Solving the Misalignment Between Antd Table Headers and Content Cells

This article introduces the issue of misalignment between Antd table headers and content cells, including advantages, …

· 3 min
CSS

Time Formatting in JavaScript

This post covers time formatting in JavaScript, including UTC display and locale-based formatting.

· 2 min
JavaScript

redux-saga-promise

Explores turning saga-driven actions into Promises, evaluates existing approaches, and shares notes on the …

· 2 min
React

regeneratorRuntime is not defined

Troubleshooting the regeneratorRuntime runtime error after adding redux-saga-promise, covering root cause and fixes in …

· 1 min
TypeScript

IDEA Plugin - NPM Package Version History

This article introduces the IDEA plugin for viewing NPM package version history, covering its advantages, implementation …

· 3 min

Learning Retrospectives

Why our team needed regular retrospectives, a simple meeting structure, and tools that help.

· 2 min
Team Process

Difference Between implements and extends in TypeScript

Clarifies how implements vs. extends behave in TypeScript and compares them with Java.

· 1 min
TypeScript

Refactoring (2nd Edition) — Book Notes

Highlights and personal reflections after reading Refactoring (2nd Edition).

· 4 min
Book Notes

Tools I Bought in 2019

This post summarizes the tools I bought in 2019, including HomePod, iPad mini 5, Bose 700, and the MacBook Pro 16, which …

· 3 min
Hardware

Publishing Public Packages to npmjs

This article introduces publishing public packages to npmjs, including its advantages, implementation details, and …

· 2 min
Node.js

Applying for a U.S. Visa

Notes from a smooth U.S. visa application (B1/B2): required docs, principles, DS‑160 tips, interview, and EVUS.

· 4 min

Don't Use Yoda Conditions in Frontend

This post explains why not to use Yoda conditions in frontend code, covering scenarios and lint rules to improve code …

· 2 min
Code Quality

NPM Indirect Dependency Version Issues

This article introduces NPM indirect dependency version management, including its advantages, implementation details, …

· 2 min
Node.js

Unknown vs. Any in TypeScript

Highlights the core difference between `unknown` and `any`, with examples of type narrowing and why `unknown` is safer.

· 1 min
TypeScript

2019 Year-End Summary

This is the author's 2019 year-end summary, reviewing growth in a complex project, reflecting on technical learning, and …

· 6 min
Annual Review

PUT vs. PATCH in REST APIs

Clarifies when to use PUT or PATCH, quoting HTTP/1.1 definitions, exploring practical scenarios, and discussing the …

· 2 min
API Design

Global Exception Interception and Customized Error Handling in Axios

This article explores the implementation of global exception interception and customized error handling in Axios. …

· 3 min
React

Redux-Saga Helper Functions

Breaks down takeEvery, takeLeading, and takeLatest with behavior notes, logs from experiments, and guidance on when to …

· 3 min
React

Duplicate identifier LibraryManagedAttributes

This article introduces the solution to the Duplicate identifier LibraryManagedAttributes error, including the …

· 1 min
TypeScriptNode.js

Read-only Nature of React Props

This article introduces the read-only nature of React Props, including its advantages, implementation details, and …

· 3 min
React

Migrate to a New Mac with Time Machine

How to restore a new Mac from a Synology-based Time Machine backup, plus what still needs manual setup afterward.

· 2 min
Apple Ecosystem