well, you could do: <input ref={myRef} value={myRef.current.value} />. The only problem with that is that refs DO NOT update or reredender ...
確定! 回上一頁