Right now, each call to Input adds new listeners to the window, elements, etc. Could we gain some perf by only adding one listener and handling our own dispatch? There's probably some decent caching we could do here, since we know the structure of the DOM is stable.
Right now, each call to Input adds new listeners to the window, elements, etc. Could we gain some perf by only adding one listener and handling our own dispatch? There's probably some decent caching we could do here, since we know the structure of the DOM is stable.