Skip to content

Commit 72f75cc

Browse files
committed
Remove deprecated stuff
1 parent c73c9be commit 72f75cc

File tree

3 files changed

+0
-1486
lines changed

3 files changed

+0
-1486
lines changed

src/React.res

-11
Original file line numberDiff line numberDiff line change
@@ -45,17 +45,6 @@ type fragmentProps = {children?: element}
4545

4646
type ref<'value> = {mutable current: 'value}
4747

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-
5948
@module("react")
6049
external createRef: unit => ref<Js.nullable<'a>> = "createRef"
6150

0 commit comments

Comments
 (0)