react-design
react-design copied to clipboard
[200][10] 事件系统捕获阶段实现不完全
详细的勘误内容:
建议在 const paths = collectPaths(type, fiber); 下方插入类似如下代码:
const pathsCapture = collectPaths(type + 'CAPTURE', fiber);
triggerEventFlow(pathsCapture, type + "CAPTURE", se);
如此就能注册类似ONCLICKCAPTURE的事件回调了