Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
balloob
14 days ago
|
parent
|
context
|
favorite
| on:
Web Components: The Framework-Free Renaissance
This has never been the case. Custom elements are DOM Elements and so are just JavaScript objects. Just like you can do aEl.disabled = true, you can set any prop to any type of value.
gedy
14 days ago
[–]
I think they mean in the markup via <some-tag data={anObject}> ala React, svelte, etc.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: