Reposted by Jonas Røssum
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` 👇
jovidecroock.com
Portfolio
About my career up to now and my skills.