Registering Your Beloved npm Packages on a New Registry
A guide to batch-migrating npm packages from one npm registry to another.
Registering Your Beloved npm Packages on a New Registry
A guide to batch-migrating npm packages from one npm registry to another.
Hunting the Bug That Lurked at 12:02 AM
I recently took over the frontend team’s service stability governance and encountered some very distinctive production issues. Here I’ll document one particularly “interesting” bug hunt.
How to Debug Mysterious Chrome Freezes
How to properly investigate when you encounter mysterious browser freezes.
Compiling & Building Modern JS Applications
A presentation for our partner department’s client-side engineers on how to compile and build modern JS applications!
A history of React state logic reuse!
Debugging a Node.js Memory Leak - The Unexpected Culprit
Our team recently migrated two projects to degg 2.0, and both exhibited serious memory leak issues. Here I’ll use the tracking service I maintain as an example for debugging. After going live, memory growth looked like the chart below—the red box marks the degg 2.0 production runtime window. Within just 36 hours, memory had grown to 50%, while it normally stabilized at 20%-30%, clearly indicating a memory leak.
Building a Local API Mock Service for Front-End Applications
Life without a mock service is unbearable.
Testing your Node.js applications with Jest
Functional Programming: Functor
Who would have thought that Promise is also a part of functional programming?
A Memorable Frontend-Backend Separation
Refactoring the company’s legacy JSP project by introducing a Node.js layer.