2 ms·
I missed that you were immediately invoking the function expression. But yes, that doesn't save you from running the expensive calculation every subsequent rend
by tshaddox 4y ago
I missed that you were immediately invoking the function expression. But yes, that doesn't save you from running the expensive calculation every subsequent render.