Skip to content

Commit e07a388

Browse files
committed
Refine Suspense panel overview
1 parent 6328e2d commit e07a388

1 file changed

Lines changed: 7 additions & 5 deletions

File tree

‎src/content/reference/dev-tools/react-suspense-panel.md‎

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,9 @@ The Suspense panel in React Developer Tools lets you inspect [`<Suspense>`](/ref
88

99
</Intro>
1010

11-
{/* TODO: Replace the screenshot placeholders before marking this PR ready. */}
11+
The Suspense panel combines a minimap of the Suspense boundaries on the page with an inspector and reveal timeline. Use it to select boundaries, inspect the work they waited for, preview their fallbacks, and replay the order in which their content appeared.
1212

13-
<div style={{display: 'flex', justifyContent: 'center', marginBottom: '1rem'}}>
14-
<img className="w-full light-image" src="/images/docs/suspense-panel/overview.png" alt="The Suspense panel showing a minimap of the page's boundaries, details for a selected boundary, and the reveal timeline." />
15-
<img className="w-full dark-image" src="/images/docs/suspense-panel/overview.dark.png" alt="The Suspense panel showing a minimap of the page's boundaries, details for a selected boundary, and the reveal timeline." />
16-
</div>
13+
{/* TODO: Replace the screenshot placeholders before marking this PR ready. */}
1714

1815
<InlineToc />
1916

@@ -47,6 +44,11 @@ The panel has a minimap and reveal timeline on the left and an inspector on the
4744

4845
The toolbar also includes controls for selecting a Suspense boundary from the page, navigating through nested boundaries, filtering the minimap, and opening the React Developer Tools settings.
4946

47+
<div style={{display: 'flex', justifyContent: 'center', marginBottom: '1rem'}}>
48+
<img className="light-image" src="/images/docs/suspense-panel/overview.png" alt="The Suspense panel showing a minimap of the page's boundaries, details for a selected boundary, and the reveal timeline." />
49+
<img className="dark-image" src="/images/docs/suspense-panel/overview.dark.png" alt="The Suspense panel showing a minimap of the page's boundaries, details for a selected boundary, and the reveal timeline." />
50+
</div>
51+
5052
### Inspecting Suspense boundaries {/*inspecting-suspense-boundaries*/}
5153

5254
The main view is a minimap of the Suspense boundaries on the page. Each outlined region represents the content inside a boundary and matches its position on the page. Blue boundaries rendered on the client, green boundaries rendered on the server, and yellow boundaries rendered in another named environment.

0 commit comments

Comments
 (0)