react/scripts
Joshua Gross 05c283c3c3
Fabric HostComponent as EventEmitter: support add/removeEventListener (unstable only) (#23386)
* Implement addEventListener and removeEventListener on Fabric HostComponent

* add files

* re-add CustomEvent

* fix flow

* Need to get CustomEvent from an import since it won't exist on the global scope by default

* yarn prettier-all

* use a mangled name consistently to refer to imperatively registered event handlers

* yarn prettier-all

* fuzzy null check

* fix capture phase event listener logic

* early exit from getEventListeners more often

* make some optimizations to getEventListeners and the bridge plugin

* fix accumulateInto logic

* fix accumulateInto

* Simplifying getListeners at the expense of perf for the non-hot path

* feedback

* fix impl of getListeners to correctly remove function

* pass all args in to event listeners
2022-03-02 12:00:08 -08:00
..
babel Remove object-assign polyfill (#23351) 2022-02-23 19:34:24 -05:00
bench Bump ecstatic from 2.2.1 to 2.2.2 in /scripts/bench (#20468) 2021-06-29 16:53:31 -04:00
circleci Console message fixed for devtools (#23067) 2022-01-05 11:45:45 -05:00
devtools React DevTools 4.23.0 -> 4.24.0 (#23400) 2022-03-02 13:28:42 -05:00
error-codes Update error message for suspending at sync priority (#23361) 2022-02-24 21:02:06 -05:00
eslint Migrate from CLIEngine to the new ESLint class. (#22756) 2021-11-18 21:12:18 +00:00
eslint-rules Remove unused react-internal/invariant-args ESLint rule. (#22778) 2021-11-16 20:11:20 +00:00
flow Fabric HostComponent as EventEmitter: support add/removeEventListener (unstable only) (#23386) 2022-03-02 12:00:08 -08:00
git Remove leftover env variable logic in pre-commit hook 2015-09-01 14:35:47 -07:00
jest Move createRoot/hydrateRoot to react-dom/client (#23385) 2022-03-01 00:13:28 -05:00
merge-fork Improve DEV errors if string coercion throws (Temporal.*, Symbol, etc.) (#22064) 2021-09-27 10:05:07 -07:00
perf-counters Drop the year from Facebook copyright headers and the LICENSE file. (#13593) 2018-09-07 15:11:23 -07:00
prettier DevTools: Update named hooks match to use column number also (#21833) 2021-07-08 16:12:22 -04:00
print-warnings Add onRecoverableError option to hydrateRoot, createRoot (#23207) 2022-02-04 07:57:33 -08:00
release Add --no-show-signature to "git show" commands (#23038) 2022-01-11 12:14:08 -05:00
rollup Remove object-assign polyfill (#23351) 2022-02-23 19:34:24 -05:00
shared Move createRoot/hydrateRoot to react-dom/client (#23385) 2022-03-01 00:13:28 -05:00
tasks Migrate from CLIEngine to the new ESLint class. (#22756) 2021-11-18 21:12:18 +00:00
yarn chore: upgrade to jest 24 (#15778) 2019-10-03 22:44:18 +05:30
authors AUTHORS 2013-09-09 23:42:54 -07:00