Skip to content

Commit f52de03

Browse files
committed
Fix sidebar
1 parent 673f443 commit f52de03

26 files changed

+199
-115
lines changed

data/sidebar_react_latest.json

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
"Overview": [
3+
"introduction",
4+
"installation"
5+
],
6+
"Main Concepts": [
7+
"elements-and-jsx",
8+
"rendering-elements",
9+
"components-and-props",
10+
"arrays-and-keys",
11+
"refs-and-the-dom",
12+
"context"
13+
],
14+
"Hooks & State Management": [
15+
"hooks-overview",
16+
"hooks-effect",
17+
"hooks-state",
18+
"hooks-reducer",
19+
"hooks-context",
20+
"hooks-ref",
21+
"hooks-custom"
22+
],
23+
"Guides": [
24+
"beyond-jsx",
25+
"forwarding-refs"
26+
]
27+
}

layouts/ReactDocsLayout.re

Lines changed: 0 additions & 69 deletions
This file was deleted.

pages/docs/react/latest/arrays-and-keys.mdx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
title: Arrays and Keys
33
description: "Rendering arrays and handling keys in ReScript and React"
44
canonical: "/docs/react/latest/arrays-and-keys"
5-
category: "Main Concepts"
65
---
76

87
# Arrays and Keys

pages/docs/react/latest/beyond-jsx.mdx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
title: Beyond JSX
33
description: "Details on how to use ReScript and React without JSX"
44
canonical: "/docs/react/latest/beyond-jsx"
5-
category: "Guides"
65
---
76

87
# Beyond JSX

pages/docs/react/latest/components-and-props.mdx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
title: Components and Props
33
description: "Basic concepts for components and props in ReasonReact"
44
canonical: "/docs/react/latest/components-and-props"
5-
category: "Main Concepts"
65
---
76

87
# Components and Props

pages/docs/react/latest/context.mdx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
title: Context
33
description: "Details about Context in ReScript and React"
44
canonical: "/docs/react/latest/context"
5-
category: "Main Concepts"
65
---
76

87
# Context

pages/docs/react/latest/elements-and-jsx.mdx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
title: Elements & JSX
33
description: "Basic concepts for React elements and how to use them in JSX"
44
canonical: "/docs/react/latest/elements-and-jsx"
5-
category: "Main Concepts"
65
---
76

87
# Elements & JSX

pages/docs/react/latest/forwarding-refs.mdx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
title: Forwarding Refs
33
description: "Forwarding Ref values in ReScript and React"
44
canonical: "/docs/react/latest/forwarding-refs"
5-
category: "Guides"
65
---
76

87
# Forwarding Refs

pages/docs/react/latest/hooks-context.mdx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
title: useContext Hook
33
description: "Details about the useContext React hook in ReScript"
44
canonical: "/docs/react/latest/hooks-context"
5-
category: "Hooks & State Management"
65
---
76

87
# useContext

pages/docs/react/latest/hooks-custom.mdx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
title: Build A Custom Hook
33
description: "How to build your own hooks in ReScript & React"
44
canonical: "/docs/react/latest/hooks-custom"
5-
category: "Hooks & State Management"
65
---
76

87
# Build A Custom Hook

0 commit comments

Comments
 (0)