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.

React 中文网 - 粤ICP备13048890号