Comment

Comment by hex13

I wish it could be possible to write this:

const animal = "cat"; <Component {animal} /> equivalent to: <Component animal={animal} />

parent hex13 10 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton