ref 是 React 裏常用的特性,我們會用它來拿到dom 的引用。它一般是這麼用的:函數組件裏用useRef:import React, { useRef, useEffect } from "react" ...
確定! 回上一頁