Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Show HN: Affinity.js – A simple view component library with store. Parent comment
1. What I mean is that <span>@code</span> becomes <span>data-af-click</span>.
2. Where? Not seeing them.
3. You're mistaken about event handler cleanup: https://dom.spec.whatwg.org/#dom-childnode-remove
6. My point here is that relying on strings is brittle. HTML builders, declarative APIs like JSX/React.createElement, and template-based approaches (where the template is a DOM node) are more robust.
There are no comments on this comment yet.
1. What I mean is that <span>@code</span> becomes <span>data-af-click</span>.
2. Where? Not seeing them.
3. You're mistaken about event handler cleanup: https://dom.spec.whatwg.org/#dom-childnode-remove
6. My point here is that relying on strings is brittle. HTML builders, declarative APIs like JSX/React.createElement, and template-based approaches (where the template is a DOM node) are more robust.