Skip to content

Commit d2b6b67

Browse files
committed
refactor: moved to reference root section and added to the sidebar
1 parent 9f95da2 commit d2b6b67

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

src/content/learn/react-performance-tracks.md renamed to src/content/reference/developer-tooling/react-performance-tracks.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ The Scheduler is an internal React concept used for managing tasks with differen
7272
Every render pass consists of multiple phases that you can see on a timeline:
7373

7474
- **Update** - this is what caused a new render pass.
75-
- **Render** - React renders the updated subtree by calling render functions of components. You can see the rendered components subtree on [Components track](/learn/react-performance-tracks#components), which follows the same color scheme.
75+
- **Render** - React renders the updated subtree by calling render functions of components. You can see the rendered components subtree on [Components track](/reference/developer-tooling/react-performance-tracks#components), which follows the same color scheme.
7676
- **Commit** - After rendering components, React will submit the changes to the DOM and run layout effects, like [`useLayoutEffect`](/reference/react/useLayoutEffect).
7777
- **Remaining Effects** - React runs passive effects of a rendered subtree. This usually happens after the paint, and this is when React runs hooks like [`useEffect`](/reference/react/useEffect). One known exception is user interactions, like clicks, or other discrete events. In this scenario, this phase could run before the paint.
7878

src/sidebarReference.json

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -378,6 +378,14 @@
378378
"title": "Compiling Libraries",
379379
"path": "/reference/react-compiler/compiling-libraries"
380380
},
381+
{
382+
"hasSectionHeader": true,
383+
"sectionHeader": "Developer tooling"
384+
},
385+
{
386+
"title": "React Performance tracks",
387+
"path": "/reference/developer-tooling/react-performance-tracks"
388+
},
381389
{
382390
"hasSectionHeader": true,
383391
"sectionHeader": "eslint-plugin-react-hooks"
@@ -429,7 +437,7 @@
429437
"path": "/reference/eslint-plugin-react-hooks/lints/incompatible-library",
430438
"version": "rc"
431439
},
432-
440+
433441
{
434442
"title": "preserve-manual-memoization",
435443
"path": "/reference/eslint-plugin-react-hooks/lints/preserve-manual-memoization",
@@ -445,7 +453,7 @@
445453
"path": "/reference/eslint-plugin-react-hooks/lints/refs",
446454
"version": "rc"
447455
},
448-
456+
449457
{
450458
"title": "set-state-in-effect",
451459
"path": "/reference/eslint-plugin-react-hooks/lints/set-state-in-effect",

0 commit comments

Comments
 (0)