mirror of
https://github.com/reactjs/react.dev.git
synced 2026-02-23 20:23:08 +00:00
Fix Typo (#5433)
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user