Skip to content

Instantly share code, notes, and snippets.

@zauan
Created April 30, 2021 13:37
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zauan/a3488a9feb799242df607c983de9c5b7 to your computer and use it in GitHub Desktop.
Save zauan/a3488a9feb799242df607c983de9c5b7 to your computer and use it in GitHub Desktop.
// FROM:
const timeStamp = e.timeStamp || _getNow();
if (skipTimestampCheck || timeStamp >= invoker.attached - 1) {
callWithAsyncErrorHandling(patchStopImmediatePropagation(e, invoker.value), instance, 5 /* NATIVE_EVENT_HANDLER */ , [e]);
}
TO:
const timeStamp = e.timeStamp || _getNow();
// if (skipTimestampCheck || timeStamp >= invoker.attached - 1) {
callWithAsyncErrorHandling(patchStopImmediatePropagation(e, invoker.value), instance, 5 /* NATIVE_EVENT_HANDLER */ , [e]);
// }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment