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
Dec 12, 2022 · Frontend Development

Understanding JavaScript Asynchronous Mechanisms and the Event Loop

This article explains why JavaScript, despite being single‑threaded, needs asynchronous mechanisms such as the event loop, details macro‑ and micro‑tasks, compares browser and Node.js implementations, and demonstrates common pitfalls and best practices using callbacks, Promise, generator, and async/await patterns.

AsyncEvent LoopJavaScript
0 likes · 16 min read
Understanding JavaScript Asynchronous Mechanisms and the Event Loop
ByteFE
ByteFE
Dec 5, 2022 · Frontend Development

Understanding the Architecture and Canvas Design of No‑Code/Low‑Code Building Platforms

This article explains the core concepts, architecture, and canvas implementation techniques of modern no‑code/low‑code building platforms, covering NCLC fundamentals, UIDL specifications, IOC modular design, drag‑and‑drop mechanics, smart snapping, multi‑selection, and event handling to improve development efficiency and user experience.

UIDLbuilding platformcanvas architecture
0 likes · 34 min read
Understanding the Architecture and Canvas Design of No‑Code/Low‑Code Building Platforms
ByteFE
ByteFE
Nov 28, 2022 · Frontend Development

DataFlow Upgrade in DataWind Project

DataWind upgraded its data flow from dva to a new solution to resolve module coupling issues and enhance development experience.

0 likes · 11 min read
DataFlow Upgrade in DataWind Project
ByteFE
ByteFE
Nov 23, 2022 · Backend Development

Redesign of the Internationalization Translation Platform Document Parsing SDK to a Three‑Layer Architecture

This article details the motivation, benefits, and technical implementation of refactoring the document parsing SDK from a monolithic design to a three‑layer architecture using Adapter, Decorator, and Proxy patterns, reducing code size by over 70% and improving extensibility for multiple document formats.

Adapter PatternDecoratorNode.js
0 likes · 14 min read
Redesign of the Internationalization Translation Platform Document Parsing SDK to a Three‑Layer Architecture
ByteFE
ByteFE
Nov 21, 2022 · Frontend Development

Understanding and Mastering JavaScript Promises: Basics, Advanced Usage, and Best Practices

This article provides a comprehensive overview of JavaScript Promises, covering their definition, states, basic usage, error handling, chaining, common APIs, best practices, advanced scenarios such as preloading and cancellation, as well as manual implementation techniques, to help front‑end developers deepen their asynchronous programming skills.

AsyncError HandlingJavaScript
0 likes · 25 min read
Understanding and Mastering JavaScript Promises: Basics, Advanced Usage, and Best Practices
ByteFE
ByteFE
Nov 19, 2022 · Frontend Development

Tech Digest: Frontend and Backend Innovations – Ant Design 5.0, GraphQL Collaboration, Serverless Frontend, DNS/CDN, Package Management, CSS Mask Techniques, and More

This curated digest highlights recent technical advances such as Ant Design 5.0's new theming, GraphQL-based front‑back collaboration tools, Meituan's serverless front‑end platform, DNS and CDN fundamentals, GitHub Blocks, no‑code DevOps trends, the evolution of npm/yarn/pnpm, and modern CSS mask and clip‑path corner‑cutting techniques.

DNSDevOpsGraphQL
0 likes · 5 min read
Tech Digest: Frontend and Backend Innovations – Ant Design 5.0, GraphQL Collaboration, Serverless Frontend, DNS/CDN, Package Management, CSS Mask Techniques, and More
ByteFE
ByteFE
Nov 16, 2022 · Frontend Development

React17 Event Mechanism Deep Dive: Propagation, Binding, and Delegation

This article explains React17's event mechanism changes compared to React16, covering event propagation phases, binding methods like inline HTML, DOM0, and addEventListener, event delegation for efficient handling, and browser event differences.

Event DelegationEvent PropagationReAct
0 likes · 24 min read
React17 Event Mechanism Deep Dive: Propagation, Binding, and Delegation