No, useRef hook can also be used as an instance variable. ... property can store a value over the lifetime of the functional component.
確定! 回上一頁