mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
9b3f909cc1
Follow up to https://github.com/facebook/react/pull/29201. If a chunk had listeners attached already (e.g. because `.then` was called on the chunk returned from `createFromReadableStream`), `wakeChunkIfInitialized` would overwrite any listeners added during chunk initialization. This caused cyclic [path references](https://github.com/facebook/react/pull/28996) within that chunk to never resolve. Fixed by merging the two arrays of listeners.