From cde02f82af7d18c218897b137ced7338e18df840 Mon Sep 17 00:00:00 2001 From: Valentin Vetter Date: Tue, 10 Jan 2023 19:51:45 +0100 Subject: [PATCH] Fix Typo (#5433) --- content/docs/strict-mode.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/docs/strict-mode.md b/content/docs/strict-mode.md index 02bed8bb7..d06e2d58c 100644 --- a/content/docs/strict-mode.md +++ b/content/docs/strict-mode.md @@ -153,7 +153,7 @@ With Strict Mode starting in React 18, whenever a component mounts in developmen ``` * React mounts the component. * Layout effects are created. - * Effect effects are created. + * Effects are created. * React simulates effects being destroyed on a mounted component. * Layout effects are destroyed. * Effects are destroyed. @@ -169,7 +169,7 @@ When the component unmounts, effects are destroyed as normal: ``` * React unmounts the component. * Layout effects are destroyed. - * Effect effects are destroyed. + * Effects are destroyed. ``` Unmounting and remounting includes: