Skip to main content

Legacy React APIs

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.


Legacy APIs


Deprecated APIs

These APIs will be removed in a future major version of React.

  • createFactory lets you create a function that produces React elements of a certain type.