Key Frontend Topics: Promises, Code Review, Race Conditions, Standards, Webpack
Explore a curated set of frontend development articles covering the evolution of asynchronous JavaScript with Promises and async/await, best practices for code reviews, handling race conditions in React, establishing comprehensive frontend standards, the quirks of JavaScript's with statement, and advanced webpack splitChunks and manifest optimization techniques.
Promise 向左,Async/Await 向右?
Having worked in frontend development, I've experienced the evolution of asynchronous handling from the despair of Callback Hell, through the chaotic standards of Promise/Deferred, the triumph of Generators, to the widespread adoption of Async/Await. Both Promise and Async/Await remain active in code, with shifting perceptions, dedicated followers, and an ongoing love‑hate relationship that continues to inspire deep reflection.
关于代码评审(CodeReview)那些不得不说的事儿
In a mature team, Code Review is an indispensable step of the development process, yet emerging teams often hold misconceptions and uncertainties about how to conduct it. Drawing on personal experience and knowledge, the author shares insights and recommendations for an effective Code Review workflow.
解决前端常见问题:竞态条件
A race condition, translated from English, commonly arises in frontend web development when fetching and processing data from a backend before rendering it. This article, using React and a small demo, explains what a race condition is and progressively presents methods to resolve it, noting that different frameworks may employ varied solutions while the core concept remains the same.
从零到一建立一套完整的前端规范
Starting from the need and importance of standards, this article gradually outlines how to create a complete frontend guideline tailored to a team, detailing the various specifications involved and providing concrete configuration steps and links for certain sections.
由 JavaScript 的 with 引发的探索
While dining, the author wondered why the JavaScript with statement is problematic, what issues it causes, and why. Driven by curiosity, the exploration starts from with and traces back to concepts like VO and AO, beginning with a refresher on the purpose of with.
webpack构建之splitChunks优化与manifest
For newcomers to build tools, webpack can be a daunting hurdle due to its abstract concepts and concise documentation. This piece revisits splitChunks and the manifest, offering guidance to overcome these challenges.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.
