Skip to content

How to use nested hyperHTML Component? #189

@liming

Description

@liming

For example:

class FirstComponent extends hyper.Component {}

class SecondComponent extends hyper.Component {}

class CombinedComponent extends hyper.Component {
  render(){
    this.html`<p>how to render FirstComponent and SecondComponent here?<p>`
  }
}

The project hypercomponent can do this but I prefer using hyperHTML.Component.

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions