From 0cb84b831db25012c60f13cf1db4a42174cf0ae2 Mon Sep 17 00:00:00 2001 From: Hidde de Vries Date: Sun, 20 Aug 2023 19:30:03 +0200 Subject: [PATCH] docs: Reword comparison between React authoring and CSS authoring (#9247) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This sentence contrasts authoring React with authoring CSS. The previous version did this in a way that makes the React authoring seem like a more advanced activity (“actual (…) code”), and authoring CSS the less advanced (described as “playing with”). The rewording tries to address that. --- website/docs/swizzling.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/swizzling.mdx b/website/docs/swizzling.mdx index 45f216420ceb..8a0ba2976237 100644 --- a/website/docs/swizzling.mdx +++ b/website/docs/swizzling.mdx @@ -8,7 +8,7 @@ In this section, we will introduce how customization of layout is done in Docusa > Déja vu...? -This section is similar to [Styling and Layout](./styling-layout.mdx), but this time, we will write actual React code instead of playing with stylesheets. We will talk about a central concept in Docusaurus: **swizzling**, which allows **deeper site customizations**. +This section is similar to [Styling and Layout](./styling-layout.mdx), but this time, we will customize React components themselves, rather than what they look like. We will talk about a central concept in Docusaurus: **swizzling**, which allows **deeper site customizations**. In practice, swizzling permits to **swap a theme component with your own implementation**, and it comes in 2 patterns: