And finally, after Hooks were introduced, useRef emerged. ... inputRef.focus(); } render() { return ( <div> <input ref={ref => { this.
確定! 回上一頁