News for hackers. Stuff that matters.
Re:When does React re-render? Explaining rerenders and how t... by MaxBarraclough on Wednesday April 29, 2020 @06:20AM (#23017507)
It makes the claim that using const can improve performance. It doesn't properly substantiate this claim though, and it doesn't seem likely that it's true.

It makes the same claim about code reuse, with the reasoning that code is more likely to be JIT compiled if it's a single hotspot rather than two, well, 'warm spots'. Again it doesn't properly back up this reasoning.

There are no comments on this comment yet.