Y
Hacker News
new
|
ask
|
show
|
jobs
by
tomnipotent
519 days ago
In the "old days" I'd colocate data as HTML attributes:
<div data-parent-id="1234" data-category="Article">
We'd use this data for any number of purposes to build out other little features that'd rely on the attributes.