Frontend Monorepo Practices at ByteDance
Invited to speak at the 11th Top100 Summit. For more details, see the article Year-end Review: How These 100 Tech Innovation Leaders Do Retrospectives
Frontend Monorepo Practices at ByteDance
Invited to speak at the 11th Top100 Summit. For more details, see the article Year-end Review: How These 100 Tech Innovation Leaders Do Retrospectives
Best Practices for Git Workflows in Monorepo
No single Git workflow is a silver bullet. The right Git workflow often depends on the project’s code scale, number of collaborators, and use cases. This article starts with the Feature branch workflow suitable for small Monorepos, then covers the Trunk-based workflow for medium-to-large Monorepos, and provides selection criteria for reference. Hopefully, you’ll find the right Git workflow for your Monorepo!
Monitoring and Alerting for CLI Tools
Over five years of work experience across three jobs, I’ve developed and maintained frontend CLI tools at every single one of them. While monitoring and alerting for frontend pages and server-side applications is taken for granted, these tools need it too. This article covers everything from error handling to reporting and troubleshooting.
Frontend Interview Quick-Reference Mind Maps
Mind maps compiled for frontend interview preparation!
Building a Private Deployment System with Rapid Customization
Some thoughts and takeaways from building a private deployment system.
Wrapping Bash Scripts into CLI Tools with Node.js
How to integrate a commonly used bash script into the npm ecosystem, demonstrated with a recent CR (Code Review) submission script.
A Scientific Approach to ESLint Governance in Legacy Projects
An effective and practical approach to ESLint governance.
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.