如果要寫一個uncontrolled component,你可以使用ref 來從DOM 取得表單的資料,而不是為了 ... alert('A name was submitted: ' + this.input.current.value); event.
確定! 回上一頁