useRef. useRef is little bit tricky on using with TypeScript. Let's consider that you a reference for a button. 1const buttonref = useRef(null).
確定! 回上一頁