ByteFE
Author

ByteFE

Cutting‑edge tech, article sharing, and practical insights from the ByteDance frontend team.

343
Articles
0
Likes
894
Views
0
Comments
Recent Articles

Latest from ByteFE

100 recent articles max
ByteFE
ByteFE
Mar 1, 2023 · Frontend Development

Evolution, Core Principles, and Comparison of Frontend Build Tools

This article explores the evolution, core principles, and comparative analysis of frontend build tools—from early YUI/Ant and AMD/CMD to modern solutions like Webpack, Rollup, esbuild, and Vite—detailing their functionalities, implementations, performance considerations, and common challenges for developers.

Build ToolsModule BundlingRollup
0 likes · 25 min read
Evolution, Core Principles, and Comparison of Frontend Build Tools
ByteFE
ByteFE
Feb 27, 2023 · Frontend Development

Deep Dive into React Router v6 Architecture and Core Implementations

This article provides an in‑depth technical overview of React Router v6, covering client‑side routing modes (Hash and History), the library’s file structure, core architecture, key components such as BrowserRouter, Route, useRoutes, and common hooks like useLocation, useNavigate, useParams, illustrating their implementations with code snippets and diagrams.

SPAarchitecturereact-router
0 likes · 12 min read
Deep Dive into React Router v6 Architecture and Core Implementations
ByteFE
ByteFE
Feb 22, 2023 · Frontend Development

Recreating the Flash Game “Manufactoria” with HTML, CSS, and JavaScript

This article details how to recreate the Flash programming game 'Manufactoria' as a web-based puzzle by implementing its UI with HTML and CSS and its logic with JavaScript, covering component definitions, grid layout, robot movement, state handling, level loading, and local storage persistence.

CSSHTMLJavaScript
0 likes · 23 min read
Recreating the Flash Game “Manufactoria” with HTML, CSS, and JavaScript
ByteFE
ByteFE
Feb 13, 2023 · Frontend Development

Understanding ESLint: Principles, Configuration, AST, and Custom Rule Development

This article explains the fundamentals of ESLint, including its purpose, configuration files, AST-based analysis, the SourceCode abstraction, rule template creation, key functions, and the overall linting and fixing workflow, enabling developers to build custom linting plugins for consistent code style.

ASTCustom RulesESLint
0 likes · 14 min read
Understanding ESLint: Principles, Configuration, AST, and Custom Rule Development
ByteFE
ByteFE
Feb 8, 2023 · Frontend Development

React Context Re‑render Issues and an Optimized use‑context‑selector Implementation

This article explains why passing an object as a React Context Provider value can cause unnecessary re‑renders, introduces the community‑made use‑context‑selector library to mitigate the problem, analyzes its limitations, and presents a custom optimized implementation using useSyncExternalStore for precise component updates.

PerformanceReActcontext
0 likes · 17 min read
React Context Re‑render Issues and an Optimized use‑context‑selector Implementation
ByteFE
ByteFE
Feb 6, 2023 · Frontend Development

Front‑End Performance Optimization: Key Metrics and Practical Techniques to Reduce First Paint and Improve Interactivity

This article explains essential front‑end performance metrics such as FP, FCP, LCP, TTI, FID, TBT and CLS, and provides a comprehensive set of network, code, CSS, image, and build‑time optimization techniques—including gzip, HTTP/2, lazy loading, SSR, debouncing, and tree‑shaking—to dramatically shorten white‑screen time and improve user experience on H5 pages.

MetricsOptimizationWeb
0 likes · 18 min read
Front‑End Performance Optimization: Key Metrics and Practical Techniques to Reduce First Paint and Improve Interactivity
ByteFE
ByteFE
Feb 5, 2023 · Frontend Development

Front‑End Development Insights: Monitoring, Low‑Code, TypeScript, Trends, and Performance Optimizations

This collection presents a range of front‑end development insights, including ByteDance’s monitoring practices, low‑code product considerations, DeepKit’s TypeScript runtime capabilities, emerging 2023 trends, web development forecasts, the need for diverse JavaScript frameworks, markdown‑to‑PPT tools, and Vue 3 table performance optimizations.

MonitoringVue3low-code
0 likes · 5 min read
Front‑End Development Insights: Monitoring, Low‑Code, TypeScript, Trends, and Performance Optimizations
ByteFE
ByteFE
Feb 1, 2023 · Frontend Development

What Is a Progressive Web App (PWA) – Features, Use Cases, and the Situation in China

This article explains what Progressive Web Apps (PWAs) are, outlines their key characteristics such as cross‑device adaptability, fast loading, offline capability, security and installability, and discusses real‑world examples, Chinese market challenges, and the potential of PWA games.

App ManifestPWAProgressive Web Apps
0 likes · 13 min read
What Is a Progressive Web App (PWA) – Features, Use Cases, and the Situation in China