3 ms·
It’s a performance pitfall. The warning is trying to make sure the dev correctly tells it how to and when not to re-render. Could it silence the warning? Yes.
by yazaddaruvala 5y ago
It’s a performance pitfall. The warning is trying to make sure the dev correctly tells it how to and when not to re-render.
Could it silence the warning? Yes. However, the React devs choose not to. I think it’s the correct default, but likely needs a more educational warning message.