Comment

Comment by mcintyre1994

I was definitely mis-understanding functional components because I'd have assumed that memo was the default behaviour. Could anybody with more experience/knowledge suggest what sort of functional components you'd want to re-render if their props don't change? Cool that there's an easy way to get that behaviour now though! :)

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton