Skip to content

Svelte 5: Provide metadata/events needed for devtools et al #11389

@dummdidumm

Description

@dummdidumm

Describe the problem

Svelte 4 emits some events in dev mode around elements being inserted etc and provides location info on the elements that map back to the original code.

Svelte 5 currently doesn't have any of it. To support devtools et al, it needs to be added back, ideally in a less on-the-fly way compared to before.

Describe the proposed solution

No good idea yet - first we need to collect requirements from tooling:

Importance

nice to have

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions