Skip to content

Rely less on anchors #3

Closed
Closed
@Rich-Harris

Description

@Rich-Harris

Currently, Svelte peppers the DOM with comments for every {{#if..}} or {{#each...}} block:

<!--#if visible-->

In many cases (e.g. where the block is that last thing in the element's fragment, or where the block is followed by an element that is never removed) that's unnecessary.

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