Skip to content

support { toString(): string } and { toHTML(): string } as reactive outputs #1578

Open
@NullVoxPopuli

Description

@NullVoxPopuli

I don't see supporting either of these things as breaking, as today, you got [object Object] or similar when rendering "things with methods".

What we need to make sure though, toString(), and toHTML() are reactive.

Could replace:

AppendHTML: 43 satisfies VmAppendHTML,
AppendSafeHTML: 44 satisfies VmAppendSafeHTML,
AppendDocumentFragment: 45 satisfies VmAppendDocumentFragment,
AppendNode: 46 satisfies VmAppendNode,
AppendText: 47 satisfies VmAppendText,

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