const item = useRef(null)<div ref={item}/>. In my use case I could not simply assign my ref to the element because the ref was being assigned within a map ...
確定! 回上一頁