Ref is just a { current: initialValue } object. It's nothing special. Both useRef(initivalValue) and createRef() give you that.
確定! 回上一頁