Pregunta de entrevista de Clarisights

Asked me about multiple state update on a cell. How it should be optimize to avoid multiple re-renders