Update legacy.md

This commit is contained in:
Sophie Alpert
2023-02-28 10:54:02 -08:00
committed by GitHub
parent b0ccb47f33
commit ec8b46d37b

View File

@@ -4,7 +4,7 @@ title: "Legacy React APIs"
<Intro>
These APIs are exported from the `react` package, but they are not recommended for use in the newly written code. See the linked individual API pages for the suggested alternatives.
These APIs are exported from the `react` package, but they are not recommended for use in newly written code. See the linked individual API pages for the suggested alternatives.
</Intro>
@@ -31,4 +31,4 @@ These APIs will be removed in a future major version of React.
</Deprecated>
* [`createFactory`](/reference/react/createFactory) lets you create a function that produces React elements of a certain type.
* [`createFactory`](/reference/react/createFactory) lets you create a function that produces React elements of a certain type.