performance
performance copied to clipboard
Experimenting with scheduler.yield
Feature Description
Is this something worth experimenting with?
https://developer.chrome.com/blog/introducing-scheduler-yield-origin-trial/
Yes it is!
@westonruter @mukeshpanchal27
Maybe this can help with the new INP Core Web Vital?
https://nitropack.io/blog/post/introducing-scheduler-yield
@asafm7 Yes, it's something that is marked as a TODO for implementing in the Interactivity API. Currently it is implementing setTimeout()
but scheduler.yield()
can be used once it is available: https://github.com/WordPress/gutenberg/pull/58227