From 6dc517a7fc48bfa64dffe31e01cb55ad97825ce7 Mon Sep 17 00:00:00 2001 From: Jesse Watts-Russell Date: Thu, 27 Jul 2023 20:56:11 -0700 Subject: [PATCH] Log route parameters in the scene-tracker (#38654) Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/38654 Changelog: [Internal][Added] - Created mechanism to add other properties in OCSceneTracker then subsequently refine them when consuming the current scene. Reviewed By: rubennorte Differential Revision: D47810741 fbshipit-source-id: d24e4f4d1d25fac2f3bed2e98e7a7b4642f26319 --- packages/react-native/Libraries/Utilities/SceneTracker.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-native/Libraries/Utilities/SceneTracker.js b/packages/react-native/Libraries/Utilities/SceneTracker.js index 6dc1bbbd47b..1b85f8d7dec 100644 --- a/packages/react-native/Libraries/Utilities/SceneTracker.js +++ b/packages/react-native/Libraries/Utilities/SceneTracker.js @@ -10,7 +10,7 @@ 'use strict'; -export type Scene = {name: string, ...}; +export type Scene = {name: string, [string]: mixed, ...}; let _listeners: Array<(scene: Scene) => void> = [];