Re:The single most important factor that differentiates ...
by dezmou on Wednesday July 19, 2023 @05:57PM
(#36794050)
This piece of code only rerender the component as if you do a setState, in fact it does a setState under the hood, maybe the word "render" is missleading.
In short, injecting a naive render function over the react virtual dom calculation is wildly inefficient.