3 ms·
>The problems come when you modify state in response to rendering the UI Yeah don't do that. Rendering shouldn't have such side-effects. Navigation might, but
by aatd86 2y ago
>The problems come when you modify state in response to rendering the UI
Yeah don't do that. Rendering shouldn't have such side-effects.
Navigation might, but that's not rendering.
Is it a common mistake with React?