Jonas Røssum reposted
A prop typed Item[] tells you what's inside the array, not whether you get a stable array next render. So I made referential stability a type. Inline array to a memoized child? Type error at the exact line. React + Preact, packaged as `stableref` 👇