4 ms·
If you try and put all your state at the top and make the rendering a function of it, you end up with excessive re-renders. So you end up co-locating state at y
by LAC-Tech 4y ago
If you try and put all your state at the top and make the rendering a function of it, you end up with excessive re-renders. So you end up co-locating state at your leaf components - hidden state everywhere.