跳到主要内容
0

本课内容目前为英文。

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.