Skip to content

Commit 8ab5e1f

Browse files
committed
Use in fixture
These are now appearing in order (except the "first paint" thing)
1 parent 7e8aec6 commit 8ab5e1f

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

fixtures/ssr/src/components/LargeContent.js

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
1-
import React, {Fragment, Suspense} from 'react';
1+
import React, {
2+
Fragment,
3+
Suspense,
4+
unstable_SuspenseList as SuspenseList,
5+
} from 'react';
26

37
export default function LargeContent() {
48
return (
5-
<Fragment>
9+
<SuspenseList revealOrder="forwards">
610
<Suspense fallback={null}>
711
<p>
812
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris
@@ -286,6 +290,6 @@ export default function LargeContent() {
286290
interdum a. Proin nec odio in nulla vestibulum.
287291
</p>
288292
</Suspense>
289-
</Fragment>
293+
</SuspenseList>
290294
);
291295
}

0 commit comments

Comments
 (0)