jackpope 2222d94322 Add dispatchEvent to fragment instances (#32813)
`fragmentInstance.dispatchEvent(evt)` calls `element.dispatchEvent(evt)`
on the fragment's host parent. This mimics bubbling if the
`fragmentInstance` could receive an event itself.

If the parent is disconnected, there is a dev warning and no event is
dispatched.

DiffTrain build for [8a8df5dbdd](https://github.com/facebook/react/commit/8a8df5dbdd57bf63d5156c1a9cba21ac6106b83d)
2025-05-07 11:08:46 -07:00
2023-02-20 16:27:42 +00:00
S
Description
Languages
JavaScript 67.1%
TypeScript 29.4%
HTML 1.5%
CSS 1.1%
C++ 0.6%
Other 0.2%