Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c73c9be commit 72f75ccCopy full SHA for 72f75cc
src/React.res
@@ -45,17 +45,6 @@ type fragmentProps = {children?: element}
45
46
type ref<'value> = {mutable current: 'value}
47
48
-module Ref = {
49
- @deprecated("Please use the type React.ref instead")
50
- type t<'value> = ref<'value>
51
-
52
- @deprecated("Please directly read from ref.current instead") @get
53
- external current: ref<'value> => 'value = "current"
54
55
- @deprecated("Please directly assign to ref.current instead") @set
56
- external setCurrent: (ref<'value>, 'value) => unit = "current"
57
-}
58
59
@module("react")
60
external createRef: unit => ref<Js.nullable<'a>> = "createRef"
61
0 commit comments