You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When installing plugins that need to return the DOM to static HTML (Like Vue in combination with Turbo) the INP becomes quite high, since destructing Vue can be a heavy task. Causing your INP score to become significantly degraded when using Turbo.
The reason is that heavy lifting is done during the click event itself.
A potential solution is to get the heavy lifting outside of the click event. Once default is prevented we could schedule the rest of the code in order to get it to run under a separate task on the main thread. Making the click event itself run much shorter
The text was updated successfully, but these errors were encountered:
When installing plugins that need to return the DOM to static HTML (Like Vue in combination with Turbo) the INP becomes quite high, since destructing Vue can be a heavy task. Causing your INP score to become significantly degraded when using Turbo.
The reason is that heavy lifting is done during the click event itself.
A potential solution is to get the heavy lifting outside of the click event. Once default is prevented we could schedule the rest of the code in order to get it to run under a separate task on the main thread. Making the click event itself run much shorter
The text was updated successfully, but these errors were encountered: