Details about the useRef React hook in ReScript. ... useRef(Js.Nullable.null) let onClick = _ => { inputEl.current ->Js.Nullable.toOption ->Belt.Option.
確定! 回上一頁