Skip to content

New root component doesn't work with Map #13056

@JonathonRP

Description

@JonathonRP

Describe the bug

image
root component doesn't allow using map, works with object and key but Map is more performant for lookups.

Reproduction

make a map that can return a svelte component
then call with new dynamic element
<map.get(key) />

Logs

No response

System Info

svelte 5

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