Aller au contenu principal
0

Cette leçon est en anglais pour le moment.

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.