Browse Source

Fix Typo (#5433)

main
Valentin Vetter 2 years ago
committed by GitHub
parent
commit
cde02f82af
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      content/docs/strict-mode.md

4
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:

Loading…
Cancel
Save