mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Add option to delay deletion of viewState
Summary: changelog: [internal] ViewState is sometimes deleted but not created again because of race condition in C++ pre-allocation and how it checks for revision to determine if createView mount item should be dispatched. In this diff, we add an option to delay deletion of ViewState until the next commit. Reviewed By: ShikaSD Differential Revision: D34553174 fbshipit-source-id: e5213f1d39137fb56fc745321a7c1b28d417ea27
This commit is contained in:
committed by
Facebook GitHub Bot
parent
eb434c1c76
commit
664f9b11ba
@@ -98,4 +98,6 @@ public class ReactFeatureFlags {
|
||||
public static boolean enableAggressiveEventEmitterCleanup = false;
|
||||
|
||||
public static boolean insertZReorderBarriersOnViewGroupChildren = true;
|
||||
|
||||
public static boolean enableDelayedViewStateDeletion = false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user