Module React.Ref

type 'value t = 'value ref
  • deprecated Please use the type React.ref instead
val current : 'value ref -> 'value
  • deprecated Please directly read from ref.current instead
val setCurrent : 'value ref -> 'value -> unit
  • deprecated Please directly assign to ref.current instead