Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions content/docs/strict-mode.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ The legacy context API is error-prone, and will be removed in a future major ver
Read the [new context API documentation](/docs/context.html) to help migrate to the new version.


### Detecting unsafe effects {#detecting-unsafe-effects}
### Ensuring reusable state {#ensuring-reusable-state}

In the future, we’d like to add a feature that allows React to add and remove sections of the UI while preserving state. For example, when a user tabs away from a screen and back, React should be able to immediately show the previous screen. To do this, React support remounting trees using the same component state used before unmounting.

Expand Down Expand Up @@ -175,4 +175,4 @@ When the component unmounts, effects are destroyed as normal:
> This only applies to development mode, _production behavior is unchanged_.

For help supporting common issues, see:
- [How to Support Strict Effects](https://github.com/reactwg/react-18/discussions/18)
- [How to support Reusable State in Effects](https://github.com/reactwg/react-18/discussions/18)