diff --git a/packages/react-art/src/ReactARTHostConfig.js b/packages/react-art/src/ReactARTHostConfig.js index 436bdc50859b8..48e4d9c102649 100644 --- a/packages/react-art/src/ReactARTHostConfig.js +++ b/packages/react-art/src/ReactARTHostConfig.js @@ -248,8 +248,6 @@ export function appendInitialChild(parentInstance, child) { if (typeof child === 'string') { // Noop for string children of Text (eg {'foo'}{'bar'}) throw new Error('Text children should already be flattened.'); - - return; } child.inject(parentInstance); diff --git a/packages/react-dom/src/client/ReactDOMTextarea.js b/packages/react-dom/src/client/ReactDOMTextarea.js index b98ec8d55b7cf..6834b16e4e97c 100644 --- a/packages/react-dom/src/client/ReactDOMTextarea.js +++ b/packages/react-dom/src/client/ReactDOMTextarea.js @@ -104,8 +104,6 @@ export function initWrapperState(element: Element, props: Object) { } if (isArray(children)) { - // FIXME: Review this condition before merging - // Should be equivalent to: !(children.length <= 1) if (children.length > 1) { throw new Error('