Tagged articles
8 articles
Page 1 of 1
FunTester
FunTester
Nov 7, 2025 · Frontend Development

Prevent Memory Leaks and Master Event Handling in JavaScript

This article explains how forgetting to remove event listeners can cause memory leaks, demonstrates proper listener cleanup, addresses closure pitfalls in loops, introduces event delegation, and provides practical debounce, throttle, naming conventions, and debugging techniques for robust frontend development.

DebounceThrottleevent delegation
0 likes · 16 min read
Prevent Memory Leaks and Master Event Handling in JavaScript
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 PropagationReactReact17
0 likes · 24 min read
React17 Event Mechanism Deep Dive: Propagation, Binding, and Delegation
Alibaba Terminal Technology
Alibaba Terminal Technology
Apr 14, 2022 · Frontend Development

How AntV S2 Implements Rich Canvas Interactions for Multi‑Dimensional Tables

This article explains how AntV S2 uses a canvas‑based rendering engine and event delegation to provide advanced interactions such as cell highlighting, brush selection, dynamic resizing, column hiding, and custom tooltips for multi‑dimensional data tables, complete with code examples and implementation details.

AntVCanvas InteractionCustom Interaction
0 likes · 21 min read
How AntV S2 Implements Rich Canvas Interactions for Multi‑Dimensional Tables
ByteDance ADFE Team
ByteDance ADFE Team
Apr 19, 2021 · Frontend Development

Understanding React's Event System: Registration and Dispatch

This article explains how React registers event listeners on the root, extracts events from the fiber tree, synthesizes cross‑browser synthetic events, accumulates callbacks, and finally dispatches them, illustrating each step with code examples and diagrams.

Event SystemJavaScriptReact
0 likes · 9 min read
Understanding React's Event System: Registration and Dispatch
CSS Magic
CSS Magic
Mar 2, 2016 · Frontend Development

Advanced Front‑End Journey: Mastering Click Event Binding

The article walks through a front‑end developer’s step‑by‑step evolution from simple onclick handlers to robust event delegation, data‑action attributes, and a reusable Action library, illustrating pitfalls, best practices, and real‑world integration with jQuery and CMUI.

JavaScriptclick eventevent binding
0 likes · 14 min read
Advanced Front‑End Journey: Mastering Click Event Binding
Aotu Lab
Aotu Lab
Jan 20, 2016 · Frontend Development

Build a Five‑in‑a‑Row (Gomoku) Game with Pure JavaScript: Step‑by‑Step Guide

This tutorial walks you through creating a complete five‑in‑a‑row (Gomoku) web game using vanilla JavaScript, covering development approaches, board rendering, event delegation, win‑checking algorithms, piece placement logic, game reset, testing strategies, and essential JavaScript event handling techniques.

Game DevelopmentGomokuJavaScript
0 likes · 12 min read
Build a Five‑in‑a‑Row (Gomoku) Game with Pure JavaScript: Step‑by‑Step Guide