React Native, Eventemitter, Navigation, Turbo Module, Bridge.
ReactNavPageModule : undefined ); export const useRouteChange = (callback: Function) => { useEffect(() => { const subscription = moduleEventEmitter.addListener( 'onRouteChange', (event: any) => { callback(event); } ); return () => { subscription.remove(); }; }, []); }; We can integrate and use