Jun 10, 2022
You sure about that? In the world of hooks, every single one of those useEffect, etc., arguments (anonymous functions) is recreated on every render--and subsequently has to be garbage collected.
You sure about that? In the world of hooks, every single one of those useEffect, etc., arguments (anonymous functions) is recreated on every render--and subsequently has to be garbage collected.
Full Stack developer at fintech company. I mainly write about React, Javascript, Typescript, and testing.