Files
react/scripts
Dan Abramov 848bb2426e Attach Listeners Eagerly to Roots and Portal Containers (#19659)
* Failing test for #19608

* Attach Listeners Eagerly to Roots and Portal Containers

* Forbid createEventHandle with custom events

We can't support this without adding more complexity. It's not clear that this is even desirable, as none of our existing use cases need custom events. This API primarily exists as a deprecation strategy for Flare, so I don't think it is important to expand its support beyond what Flare replacement code currently needs. We can later revisit it with a better understanding of the eager/lazy tradeoff but for now let's remove the inconsistency.

* Reduce risk by changing condition only under the flag

Co-authored-by: koba04 <koba0004@gmail.com>
2020-08-24 16:50:20 +01:00
..
2020-06-30 12:43:52 +01:00
2020-05-28 20:32:34 -07:00
2020-08-07 16:32:59 -04:00
2020-08-07 19:24:49 +01:00
2019-10-03 22:44:18 +05:30
2013-09-09 23:42:54 -07:00