(parentInstance, child)
| 258 | export * from 'react-reconciler/src/ReactFiberConfigWithNoSingletons'; |
| 259 | |
| 260 | export function appendInitialChild(parentInstance, child) { |
| 261 | if (typeof child === 'string') { |
| 262 | // Noop for string children of Text (eg <Text>{'foo'}{'bar'}</Text>) |
| 263 | throw new Error('Text children should already be flattened.'); |
| 264 | } |
| 265 | |
| 266 | child.inject(parentInstance); |
| 267 | } |
| 268 | |
| 269 | export function createInstance(type, props, internalInstanceHandle) { |
| 270 | let instance; |