Skip to content

Is possible to avoid setting a key when static attributes are used? #39

@blikblum

Description

@blikblum

The use case is:

I must patch an existing element which should be root node of render function

To do this i use idom.patchOuter

But when a key is used to create this root element idom will create another element discarding the element being patched.

See https://codepen.io/blikblum/pen/GmzVBz (to get the error behavior add a key to root div element)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions