Facebook Engineering Blog
Faster input events with Facebook’s first browser API contribution

Faster input events with Facebook’s first browser API contribution

4/22/2019 · Nate Schloss, Andrew Comminos

What this post added

This post details Meta's first contribution to a web browser API, the `isInputPending` API. It addresses the critical issue of 'queueing time' in web interactions, which is the delay between a user input event and the start of its processing. The API allows JavaScript to check if input events are pending, enabling developers to yield control to the browser more effectively, thus resolving the trade-off between fast page loading and quick event response. This initiative highlights Meta's active role in web standards and its commitment to improving the web platform.

Read the original post ↗