mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Revert initialization of event emits during initial rendering in Fabric
Summary: Original commit changeset: 0b56b7495db6 Original Phabricator Diff: D53108114 bypass-github-export-checks changelog: [internal] internal Reviewed By: philIip Differential Revision: D53746331 fbshipit-source-id: 95daf5660845eb9a5dd84da85833727aed4e65e3
This commit is contained in:
committed by
Facebook GitHub Bot
parent
3b2c4a1834
commit
cc2a73aa4d
-1
@@ -177,7 +177,6 @@ public class TextAttributes {
|
||||
: DEFAULT_MAX_FONT_SIZE_MULTIPLIER;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return ("TextAttributes {"
|
||||
+ "\n getAllowFontScaling(): "
|
||||
|
||||
@@ -810,11 +810,6 @@ void FabricMountingManager::preallocateShadowView(
|
||||
|
||||
// Do not hold a reference to javaEventEmitter from the C++ side.
|
||||
jni::local_ref<EventEmitterWrapper::JavaPart> javaEventEmitter = nullptr;
|
||||
SharedEventEmitter eventEmitter = shadowView.eventEmitter;
|
||||
if (eventEmitter != nullptr) {
|
||||
javaEventEmitter =
|
||||
EventEmitterWrapper::newObjectCxxArgs(shadowView.eventEmitter);
|
||||
}
|
||||
|
||||
jni::local_ref<jobject> props = getProps({}, shadowView);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user