Refs can store mutable values, but React does not re-render when ref.current changes. Information that determines rendered output should be stored in state instead.