📜  react typescrpt中的useref - Javascript代码示例

📅  最后修改于: 2022-03-11 15:03:18.807000             🧑  作者: Mango

代码示例2
// create refernce for element
let refName= useState(null)
//usage
// access in useEffect refName.current