Skip to content

Commit 88689f6

Browse files
committed
Remove experimental SuspenseList component
1 parent c42ad42 commit 88689f6

File tree

4 files changed

+0
-52
lines changed

4 files changed

+0
-52
lines changed

src/React.bs.js

-7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/React.res

-16
Original file line numberDiff line numberDiff line change
@@ -127,22 +127,6 @@ module Suspense = {
127127
external make: component<props<'children, 'fallback>> = "Suspense"
128128
}
129129

130-
module Experimental = {
131-
module SuspenseList = {
132-
type revealOrder
133-
type tail
134-
type props<'children, 'revealOrder, 'tail> = {
135-
key?: string,
136-
children?: 'children,
137-
revealOrder?: 'revealOrder,
138-
tail?: 'tail,
139-
}
140-
141-
@module("react")
142-
external make: component<props<'children, 'revealOrder, 'tail>> = "SuspenseList"
143-
}
144-
}
145-
146130
type dynamicallyImportedModule<'a> = {default: component<'a>}
147131

148132
@module("react")

src/v3/React_V3.bs.js

-7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/v3/React_V3.res

-22
Original file line numberDiff line numberDiff line change
@@ -134,28 +134,6 @@ module Suspense = {
134134
}> = "Suspense"
135135
}
136136

137-
module Experimental = {
138-
module SuspenseList = {
139-
type revealOrder = React.Experimental.SuspenseList.revealOrder
140-
type tail = React.Experimental.SuspenseList.tail
141-
@obj
142-
external makeProps: (
143-
~children: element=?,
144-
~revealOrder: [#forwards | #backwards | #together]=?,
145-
~tail: [#collapsed | #hidden]=?,
146-
unit,
147-
) => {"children": option<element>, "revealOrder": option<revealOrder>, "tail": option<tail>} =
148-
""
149-
150-
@module("react")
151-
external make: component<{
152-
"children": option<element>,
153-
"revealOrder": option<revealOrder>,
154-
"tail": option<tail>,
155-
}> = "SuspenseList"
156-
}
157-
}
158-
159137
/* HOOKS */
160138

161139
/*

0 commit comments

Comments
 (0)