News for hackers. Stuff that matters.
Re:The single most impor­tant factor that dif­fer­enti­ates ... by boringuser2 on Wednesday July 19, 2023 @05:27PM (#36793675)
This is extremely inadvisable for numerous reasons and goes against the entire design philosophy of React.

In short, injecting a naive render function over the react virtual dom calculation is wildly inefficient.

Re:The single most impor­tant factor that dif­fer­enti­ates ... 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.