From 617065b8be84ee44114a6dd01af0a040c0f33fd9 Mon Sep 17 00:00:00 2001 From: Soichiro Miki Date: Tue, 7 Nov 2023 07:11:40 +0900 Subject: [PATCH] Fix style in React Reference Overview (#6410) --- src/content/reference/react/index.md | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/src/content/reference/react/index.md b/src/content/reference/react/index.md index 452f326d235..43394acf6c3 100644 --- a/src/content/reference/react/index.md +++ b/src/content/reference/react/index.md @@ -3,28 +3,32 @@ title: React Reference Overview --- -This section provides detailed reference documentation for working with React. -For an introduction to React, please visit the [Learn](/learn) section. + +This section provides detailed reference documentation for working with React. For an introduction to React, please visit the [Learn](/learn) section. + -Our The React reference documentation is broken down into functional subsections: +Our The React reference documentation is broken down into functional subsections: ## React {/*react*/} -Programmatic React features: + +Programmatic React features: + * [Hooks](/reference/react/hooks) - Use different React features from your components. * [Components](/reference/react/components) - Documents built-in components that you can use in your JSX. -* [APIs](/reference/react/apis) - APIs that are useful for defining components. +* [APIs](/reference/react/apis) - APIs that are useful for defining components. * [Directives](/reference/react/directives) - Provide instructions to bundlers compatible with React Server Components. ## React DOM {/*react-dom*/} -React-dom contains features that are only supported for web applications -(which run in the browser DOM environment). This section is broken into the following: + +React-dom contains features that are only supported for web applications (which run in the browser DOM environment). This section is broken into the following: * [Hooks](/reference/react-dom/hooks) - Hooks for web applications which run in the browser DOM environment. * [Components](/reference/react-dom/components) - React supports all of the browser built-in HTML and SVG components. * [APIs](/reference/react-dom) - The `react-dom` package contains methods supported only in web applications. -* [Client APIs](/reference/react-dom/client) - The `react-dom/client` APIs let you render React components on the client (in the browser). +* [Client APIs](/reference/react-dom/client) - The `react-dom/client` APIs let you render React components on the client (in the browser). * [Server APIs](/reference/react-dom/server) - The `react-dom/server` APIs let you render React components to HTML on the server. ## Legacy APIs {/*legacy-apis*/} -* [Legacy APIs](/reference/react/legacy) - Exported from the react package, but not recommended for use in newly written code. \ No newline at end of file + +* [Legacy APIs](/reference/react/legacy) - Exported from the `react` package, but not recommended for use in newly written code.