mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Add createElement alias for createDescriptor
This commit is contained in:
committed by
Paul O’Shannessy
parent
aaa8a5ff50
commit
036d751397
@@ -73,7 +73,8 @@ var React = {
|
||||
EventPluginUtils.useTouchEvents = shouldUseTouch;
|
||||
},
|
||||
createClass: ReactCompositeComponent.createClass,
|
||||
createDescriptor: createDescriptor,
|
||||
createDescriptor: createDescriptor, // deprecated, will be removed next week
|
||||
createElement: createDescriptor,
|
||||
createFactory: createFactory,
|
||||
constructAndRenderComponent: ReactMount.constructAndRenderComponent,
|
||||
constructAndRenderComponentByID: ReactMount.constructAndRenderComponentByID,
|
||||
|
||||
Reference in New Issue
Block a user