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

Deprecated

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.