3 ms·
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
by boringuser2 3y ago
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.
- dezmou 3y agoThis 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.