Comment

Comment by lenkite

Regarding puzzling design choices, I am wondering at the preponderance of data attributes like

   <e-toast
    data-type="success"
    data-position="top-right"
    data-hide-after-n-seconds="5"
    data-close-icon="/images/close.svg"></e-toast>

For custom web components, maybe the author forgot that you don't need to prefix attributes with data ?
parent lenkite 3 months ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton