Enable ConcurrentRoot in RN VR apps
Summary: This diff is a prototype to enable ConcurrentRoot in RN VR apps changelog: [internal] internal Reviewed By: sammy-SC Differential Revision: D33200238 fbshipit-source-id: 45f700808cdc3a970bcddef858944e764a7260bd
This commit is contained in:
Родитель
05ce2cf259
Коммит
3e8934b49b
|
@ -113,6 +113,9 @@ const AppRegistry = {
|
|||
runnables[appKey] = {
|
||||
componentProvider,
|
||||
run: (appParameters, displayMode) => {
|
||||
const concurrentRootEnabled =
|
||||
appParameters.initialProps?.concurrentRoot ||
|
||||
appParameters.concurrentRoot;
|
||||
renderApplication(
|
||||
componentProviderInstrumentationHook(
|
||||
componentProvider,
|
||||
|
@ -127,7 +130,7 @@ const AppRegistry = {
|
|||
appKey === 'LogBox',
|
||||
appKey,
|
||||
coerceDisplayMode(displayMode),
|
||||
appParameters.concurrentRoot,
|
||||
concurrentRootEnabled,
|
||||
);
|
||||
},
|
||||
};
|
||||
|
|
Загрузка…
Ссылка в новой задаче