Setting it does not cause a re-render. useRef can be used to easily get a reference to an element/component. Pressing the Reset button sets focus into the input ...
確定! 回上一頁