Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Unlimited nesting is supported. You pass options with HTML attributes:

<parent>

  <child arg={ data } />

  this.data = { foo: 'bar' }
</parent>


Is that only when defining a custom tag, or when using it as well? All the examples seems to be of nesting when defining a custom tag. If it supports it when using the tag, how do you get access to the nested content?




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: