As we have yet to render the component, the ref is initialized to null . The ref is set when the element is declared using the ref prop:.
確定! 回上一頁