React does not track ref.current mutations, so changing a ref does not schedule a render. This makes refs appropriate for retained information that is not used to produce the UI.