Saltar al contenido principal
0

Por ahora, esta lección está en 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.