Skip to content

should render ReactNode in connectedCallback not constructor? #16

@WeiRu1016

Description

@WeiRu1016

image

in constructor create and render ReactNode, let we can't setProps before render ReactNode.
because HTML attr is not support Camel-Case。

so create and render ReactNode in connectedCallback better

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