ByteDance ADFE Team
Author

ByteDance ADFE Team

Official account of ByteDance Advertising Frontend Team

32
Articles
0
Likes
80
Views
0
Comments
Recent Articles

Latest from ByteDance ADFE Team

32 recent articles
ByteDance ADFE Team
ByteDance ADFE Team
Apr 14, 2022 · Frontend Development

Babel Basics: Definition, Workflow, Plugins, Presets, and Practical Usage

This article provides a comprehensive beginner-friendly guide to Babel, covering its definition as a JavaScript compiler, the parse‑transform‑generate workflow, AST concepts, core packages, plugin and preset classifications, configuration details, and step‑by‑step usage examples with code snippets.

ASTBabelBuild Tools
0 likes · 16 min read
Babel Basics: Definition, Workflow, Plugins, Presets, and Practical Usage
ByteDance ADFE Team
ByteDance ADFE Team
Mar 24, 2022 · Frontend Development

Understanding SWR: Stale‑While‑Revalidate Data Fetching in React

This article explains the SWR library—a lightweight React hook that implements the stale‑while‑revalidate caching strategy—covering its core concepts, basic usage, advanced features like global configuration and middleware, and an overview of its internal implementation.

Data fetchingReActSWR
0 likes · 15 min read
Understanding SWR: Stale‑While‑Revalidate Data Fetching in React
ByteDance ADFE Team
ByteDance ADFE Team
Mar 16, 2022 · Fundamentals

Introduction to Rust and Learning Recommendations

This article introduces the Rust programming language, explains its design principles such as memory safety, ownership, and zero‑cost abstractions, compares it with C++ and JavaScript, and provides practical advice, code examples, and insights on when and how to start learning Rust.

GenericsMemory SafetyOwnership
0 likes · 27 min read
Introduction to Rust and Learning Recommendations
ByteDance ADFE Team
ByteDance ADFE Team
Mar 7, 2022 · Frontend Development

2D Drawing on the Web: Basics, Techniques, and Performance Optimizations

This article introduces the fundamentals of 2D drawing on the web using SVG, Canvas, and WebGL, compares their strengths, demonstrates code examples for shapes and paths, explains event handling and picking methods, and provides practical performance optimization strategies for rendering and interaction.

2d-drawingCanvasPerformance
0 likes · 10 min read
2D Drawing on the Web: Basics, Techniques, and Performance Optimizations
ByteDance ADFE Team
ByteDance ADFE Team
Feb 28, 2022 · Frontend Development

Understanding Recoil’s Asynchronous Data Flow and Loading Handling

This article explains how Recoil implements asynchronous data streams, detailing the underlying data‑flow architecture, the role of atoms and selectors, the lifecycle of async loading states, and two approaches for handling loading—manual useRecoilValueLoadable and automatic React.Suspense integration—accompanied by illustrative code examples.

AsyncReActRecoil
0 likes · 10 min read
Understanding Recoil’s Asynchronous Data Flow and Loading Handling
ByteDance ADFE Team
ByteDance ADFE Team
Feb 21, 2022 · Frontend Development

Event Collector: A Markup‑Based Web Event Tracking Solution

The article introduces Event Collector, a markup‑based web event tracking framework that replaces imperative tracking with data attributes or React components, explains its technical implementation, management tools, monorepo organization, release workflow, and React coding conventions to improve development efficiency and data analysis.

AnalyticsReActWeb development
0 likes · 7 min read
Event Collector: A Markup‑Based Web Event Tracking Solution
ByteDance ADFE Team
ByteDance ADFE Team
Feb 14, 2022 · Frontend Development

Vite Introduction: Features, Core Principles, and Plugin System

This article provides a comprehensive overview of Vite, covering its definition, advantages over traditional bundlers like Webpack and Snowpack, the underlying ESM‑based development server, hot‑module replacement mechanisms, esbuild pre‑bundling, Rollup integration, plugin architecture, and a balanced summary of its strengths and limitations.

Build ToolESMRollup
0 likes · 19 min read
Vite Introduction: Features, Core Principles, and Plugin System
ByteDance ADFE Team
ByteDance ADFE Team
Feb 9, 2022 · Frontend Development

Fundamentals of 3D Graphics Rendering in Front-End Development

This article introduces the essential concepts and step‑by‑step implementation of 2D and 3D graphics rendering on the web, covering viewport transformation, triangle rasterization, anti‑aliasing, interpolation, camera setup, perspective projection, and depth testing using HTML5 Canvas and JavaScript.

3D renderingGraphicsShader
0 likes · 15 min read
Fundamentals of 3D Graphics Rendering in Front-End Development
ByteDance ADFE Team
ByteDance ADFE Team
Jan 12, 2022 · Frontend Development

Designing and Publishing Module Packages in a Monorepo: Best Practices for Shared Config, UI Libraries, and Native Modules

This article explains how to design, build, and publish reusable module packages—including shared configuration libraries, UI component libraries, and native language modules—within a monorepo, covering package.json configuration, multiple entry formats (ESM, CJS, UMD), tooling choices, and publishing workflows for both frontend and Node.js projects.

MonorepoNode.jsReAct
0 likes · 19 min read
Designing and Publishing Module Packages in a Monorepo: Best Practices for Shared Config, UI Libraries, and Native Modules