Skip to content

Raised INP after enabling this plugin #40

Open
@indykoning

Description

@indykoning

After installing and enabling the plugin the INP (Interaction to Next Paint) score moves from 160ms to 320ms in my testing.
The reason being that the vue.$destroy() is being called during the click event itself causing it to block that click event.

Wrapping it in 2 setTimeouts does solve the issue by decoupling it, however i'm unsure wether this makes the caching of the page in Turbo work as expected.

I've also created hotwired/turbo#1359 in case it can only be solved there.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions