diff --git a/src/renderers/dom/shared/ReactDOMComponent.js b/src/renderers/dom/shared/ReactDOMComponent.js index 8f6cde4507..afe0f3f179 100644 --- a/src/renderers/dom/shared/ReactDOMComponent.js +++ b/src/renderers/dom/shared/ReactDOMComponent.js @@ -513,7 +513,7 @@ ReactDOMComponent.Mixin = { * * @internal * @param {ReactReconcileTransaction|ReactServerRenderingTransaction} transaction - * @param {?ReactDOMComponent} the containing DOM component instance + * @param {?ReactDOMComponent} the parent component instance * @param {?object} info about the host container * @param {object} context * @return {string} The computed markup. diff --git a/src/renderers/native/ReactNativeBaseComponent.js b/src/renderers/native/ReactNativeBaseComponent.js index 20dfaa542b..0a0c8435b7 100644 --- a/src/renderers/native/ReactNativeBaseComponent.js +++ b/src/renderers/native/ReactNativeBaseComponent.js @@ -171,8 +171,10 @@ ReactNativeBaseComponent.Mixin = { }, /** - * @param {string} rootID Root ID of this subtree. - * @param {Transaction} transaction For creating/updating. + * @param {ReactNativeReconcileTransaction} transaction + * @param {?ReactNativeBaseComponent} the parent component instance + * @param {?object} info about the host container + * @param {object} context * @return {string} Unique iOS view tag. */ mountComponent: function(transaction, hostParent, hostContainerInfo, context) {