Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
tipiirai
on Jan 22, 2015
|
parent
|
context
|
favorite
| on:
Riot – A React-like, 2.5K user interface library
Unlimited nesting is supported. You pass options with HTML attributes:
<parent>
<child arg={ data } /> this.data = { foo: 'bar' }
</parent>
vidarh
on Jan 22, 2015
[–]
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:
<parent>
</parent>