Tag

Event Propagation

1 views collected around this technical thread.

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 PropagationFrontend Development
0 likes · 24 min read
React17 Event Mechanism Deep Dive: Propagation, Binding, and Delegation
Tencent Cloud Developer
Tencent Cloud Developer
Feb 1, 2021 · Mobile Development

Flutter Event Propagation and Gesture Recognition Mechanism (Source Code Analysis)

Flutter converts native MotionEvent data into a serialized ByteBuffer, passes it through JNI to the engine, creates a Dart PointerDataPacket, hit‑tests the render tree, dispatches the event to each hit object, and resolves competing GestureRecognizers in the arena so the winning recognizer triggers the appropriate callback such as onTap or onDrag.

Cross-PlatformEvent PropagationFlutter
0 likes · 21 min read
Flutter Event Propagation and Gesture Recognition Mechanism (Source Code Analysis)