Programming

Upgrade Blog Theme

Upgrading Hexo + NexT theme: steps, externalized config, and switching comments to Gitalk.

· 1 min

Bulk-Replacing Domains in a Frontend Codebase

This article introduces how to bulk-replace domain names in frontend code, including usage scenarios and implementation …

· 3 min
Build Tools

process.env.NODE_ENV Explained (Simple Guide)

Exploring process.env.NODE_ENV: origins, usage scenarios, and practical applications in frontend builds and Node.js …

· 1 min
Node.jsBuild Tools

Getting grpc-web Demo Running

This article introduces how to get the grpc-web demo running, including its advantages, implementation details, and …

· 4 min

NPM Package Installation - Understanding Warning Messages

This article introduces warning messages encountered during npm package installation, including their causes, …

· 1 min
Node.js

Improve Frontend Code Quality with Tools — WeChat Mini Program

How to configure linting and formatting to improve code quality in WeChat Mini Program projects, with practical setup …

· 2 min
Code Quality

Questions About Capturing HTTPS Traffic with Whistle

Clarifying how Whistle handles HTTPS capture, including pseudo headers, MitM certificates, and the settings required for …

· 3 min

Common Issues in WeChat Mini Program Development

This article covers common issues in WeChat mini program development, including use cases and implementation details to …

· 4 min
Frontend Development

Hexo Blog Build Performance Optimization

This article introduces Hexo blog build performance optimization, including its advantages, implementation details, and …

· 1 min

RTL Explained (Simple Guide)

This article introduces RTL, including usage scenarios and implementation details, to improve efficiency in …

· 2 min
CSS

Docker PostgreSQL Deployment Issues

This article introduces Docker PostgreSQL deployment issues, including their advantages, implementation details, and …

· 3 min
Deployment Operations

Ionic Development Experience

This article shares the author's experience with Ionic development, covering the advantages of Ionic, implementation …

· 2 min
Mobile Development

Nginx Access Error Caused by File Permissions

This article introduces nginx access errors caused by file permissions, including their causes, implementation details, …

· 2 min
Deployment Operations

Online Issue - ERR_CONNECTION_CLOSED

Troubleshooting an online issue with ERR_CONNECTION_CLOSED: analyzing the root cause (request header length limit) and …

· 3 min
ChromeFrontend Development

Contributing TS Type Declarations to Open Source Projects

How to create, package, and reference TypeScript declaration files when contributing typings to open-source projects.

· 1 min
TypeScript

Dockerizing Frontend Build and Deployment

Make frontend build/package/deploy reproducible with Docker and docker-compose: images, services, reverse proxy, TLS, …

· 1 min
Deployment & OperationsDockerFrontend Development

Lesser-Known TypeScript Types

Covers `never`, `ArrayLike`, and `PromiseLike`, when to use them, and links to further reading.

· 2 min
TypeScript

Online Issue - Rendering Anomalies

This article discusses online issue - rendering anomalies, including usage scenarios, implementation details, etc., to …

· 2 min
React

Zip Download Fails to Unzip in Frontend — Fix

Binary download succeeded but unzip failed; Postman worked. Root cause and fix: set XHR responseType to 'blob'.

· 4 min
JavaScript

About .DS_Store on Mac

This post explains what .DS_Store is on Mac, why it can be a security risk, and how to prevent it.

· 2 min
MacSecurity

react/display-name

This article introduces the react/display-name rule, including its advantages, implementation details, and related …

· 2 min
React

JavaScript arguments Object

This article provides an introduction to JavaScript arguments object, including its limitations, comparison with rest …

· 1 min
JavaScript

When tsc Compiled to ES3

Postmortem of a production build that emitted ES3 JavaScript, why it happened, and how we fixed our component library …

· 1 min
JavaScript

sideEffects in package.json

An explanation of the sideEffects field in package.json, including its purpose, usage patterns, and how it enables …

· 2 min
Build ToolsNode.jsWebpackTree Shaking

Parsing ZIP File Uploads

How to handle ZIP file uploads: reading ZIPs on the frontend, writing on the backend, and practical parsing tips.

· 2 min
JavaScript