Skip to content
This repository was archived by the owner on Oct 1, 2025. It is now read-only.
This repository was archived by the owner on Oct 1, 2025. It is now read-only.

refresh doesn't respect child's innerhtml=null #792

@yakovyarmo

Description

@yakovyarmo

I'm using nuxt 2

I've noticed that when calling the meta refresh on the client side, it doesn't respect innerhtml=null in the child component.
After further investigation I found that the problem lays in the following line:

source.splice(sourceIndex, 1)

It happens since you are removing it from the source and then in the next refresh it doesn't exists anymore.
My solution for now was to override the splice method so it won't do anything.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions