Skip to content

await in keyed each triggers rerender on every updateΒ #8791

@seo-rii

Description

@seo-rii

Describe the bug

As described in the link, if you assign a key to an each tag, you must maintain the current structure without re-rendering for fixed key, even if the list changes. However, the await tag in this will trigger re-rendering each time the list is updated.

Reproduction

https://svelte.dev/repl/9dc6c277301b4ad7bb40aac0c4f0fcd5?version=3.59.2

Logs

No response

System Info

Edge Latest, REPL Latest

Severity

annoyance

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