React 19+ · Function
createFactory
createFactory creates a function that builds React elements of one fixed type. It is deprecated and was removed in React 19; use JSX or createElement instead.
Last updated
- Since
- 16.13.0
Syntax
createFactory(type)In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
createElementJSXFragmentReact 19