We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent abacd2f commit 6677f67Copy full SHA for 6677f67
src/renderers/native/ReactNativeFiber.js
@@ -304,6 +304,12 @@ const NativeRenderer = ReactFiberReconciler({
304
scheduleDeferredCallback: global.requestIdleCallback,
305
306
shouldSetTextContent(props : Props) : boolean {
307
+ // TODO (bvaughn) Revisit this decision.
308
+ // Always returning false simplifies the createInstance() implementation,
309
+ // But creates an additional child Fiber for raw text children.
310
+ // No additional native views are created though.
311
+ // It's not clear to me which is better so I'm deferring for now.
312
+ // More context @ github.com/facebook/react/pull/8560#discussion_r92111303
313
return false;
314
},
315
0 commit comments