Amy Blankenship
Oct 10, 2022

--

That's only true if you build the object every render. If, for example, you pass it in through props or create it in useMemo, this will not happen.

--

--

Amy Blankenship
Amy Blankenship

Written by Amy Blankenship

Full Stack developer at fintech company. I mainly write about React, Javascript, Typescript, and testing.

No responses yet