Ir para o conteúdo principal
0

Por enquanto, esta lição está em inglês.

Values React does not watch

Sometimes a component must remember something that should not cause a render, like a timer id, or reach a real DOM node to focus it. That is what refs are for.