synthetic-event-system-internals
skillLeverage React's event delegation system for optimization and custom event behavior.
apm::install
apm install @majiayu000/synthetic-event-system-internalsapm::skill.md
---
name: synthetic-event-system-internals
description: Leverage React's event delegation system for optimization and custom event behavior.
---
# Synthetic Event System Internals
## Summary
Leverage React's event delegation system for optimization and custom event behavior.
## Key Capabilities
- Trace event propagation through the React tree vs. DOM.
- Implement custom event plugins for non-standard gestures.
- Optimize high-frequency event listeners (scroll, resize).
## PhD-Level Challenges
- Debug issues arising from mixed React/native event listeners.
- Analyze the memory impact of the synthetic event pool (historical/modern).
- Simulate event re-targeting in portal subtrees.
## Acceptance Criteria
- Demonstrate correct event delegation behavior.
- Provide a custom event hook implementation.
- Document event propagation nuances in Portals.