Searched refs:navigationRef (Results 1 – 17 of 17) sorted by relevance
| /expo/packages/expo-router/src/global-state/ |
| H A D | routing.ts | 11 if (!store.navigationRef.isReady()) { 28 this.navigationRef?.current?.goBack(); 37 if (!this.navigationRef.isReady()) { 40 return this.navigationRef?.current?.canGoBack() ?? false; 45 return (this.navigationRef?.current?.setParams as any)(params); 55 const navigationRef = this.navigationRef.current; constant 57 if (navigationRef == null) { 68 navigationRef.goBack(); 72 const rootState = navigationRef.getRootState(); 96 return navigationRef.dispatch(getNavigateReplaceAction(state, rootState)); [all …]
|
| H A D | router-store.tsx | 36 navigationRef!: NavigationContainerRefWithCurrent<ReactNavigation.RootParamList>; 52 navigationRef: NavigationContainerRefWithCurrent<ReactNavigation.RootParamList>, 74 this.navigationRef = navigationRef; 109 …* Additionally, some hooks compare the state from both the store and the navigationRef. If the sto… 113 this.navigationRefSubscription = navigationRef.addListener('state', (data) => { 118 … // NOTE(EvanBacon): `navigationRef.isReady` is sometimes not true when state is called initially. 203 if (store.navigationRef.isReady()) { 204 const currentState = store.navigationRef.getRootState() as unknown as ResultState; 231 const navigationRef = useNavigationContainerRef(); 233 () => store.initialize(context, navigationRef, initialLocation),
|
| /expo/packages/expo-router/build/global-state/ |
| H A D | routing.js | 32 if (!store.navigationRef.isReady()) { 46 this.navigationRef?.current?.goBack(); 55 if (!this.navigationRef.isReady()) { 58 return this.navigationRef?.current?.canGoBack() ?? false; 63 return (this.navigationRef?.current?.setParams)(params); 72 const navigationRef = this.navigationRef.current; 73 if (navigationRef == null) { 80 navigationRef.goBack(); 83 const rootState = navigationRef.getRootState(); 101 return navigationRef.dispatch(getNavigateReplaceAction(state, rootState)); [all …]
|
| H A D | router-store.js | 28 navigationRef; field in RouterStore 39 initialize(context, navigationRef, initialLocation) { argument 55 this.navigationRef = navigationRef; 88 this.navigationRefSubscription = navigationRef.addListener('state', (data) => { 163 if (exports.store.navigationRef.isReady()) { 164 const currentState = exports.store.navigationRef.getRootState(); 181 const navigationRef = (0, native_1.useNavigationContainerRef)(); 182 …(0, react_1.useMemo)(() => exports.store.initialize(context, navigationRef, initialLocation), [con…
|
| H A D | router-store.d.ts | 22 navigationRef: NavigationContainerRefWithCurrent<ReactNavigation.RootParamList>; 33 …initialize(context: RequireContext, navigationRef: NavigationContainerRefWithCurrent<ReactNavigati…
|
| H A D | routing.js.map | 1 …navigationRef.isReady()) {\n throw new Error(\n 'Attempted to navigate before mounting the…
|
| H A D | router-store.js.map | 1 …navigationRef!: NavigationContainerRefWithCurrent<ReactNavigation.RootParamList>;\n navigationRef…
|
| /expo/packages/expo-router/src/link/ |
| H A D | useLoadedNavigation.ts | 10 const { navigationRef } = useExpoRouter(); constant 33 if (navigationRef.current) { 41 if (navigationRef.current) {
|
| /expo/packages/expo-router/build/link/ |
| H A D | useLoadedNavigation.js | 9 const { navigationRef } = (0, router_store_1.useExpoRouter)(); 29 if (navigationRef.current) { 35 if (navigationRef.current) {
|
| H A D | useLoadedNavigation.js.map | 1 …navigationRef } = useExpoRouter();\n const navigation = useNavigation();\n const isMounted = use…
|
| /expo/packages/expo-router/src/ |
| H A D | hooks.ts | 18 return store.navigationRef.current;
|
| H A D | ExpoRoot.tsx | 87 ref={store.navigationRef}
|
| /expo/packages/expo-router/build/ |
| H A D | hooks.js | 19 return router_store_1.store.navigationRef.current;
|
| H A D | ExpoRoot.js | 84 …return (react_1.default.createElement(NavigationContainer_1.default, { ref: store.navigationRef, i…
|
| H A D | hooks.js.map | 1 …teInfo();\n}\n\nexport function useRootNavigation() {\n return store.navigationRef.current;\n}\n\…
|
| H A D | ExpoRoot.js.map | 1 …nt;\n\n return (\n <UpstreamNavigationContainer\n ref={store.navigationRef}\n initia…
|
| /expo/home/navigation/ |
| H A D | Navigation.tsx | 164 const navigationRef = useNavigationContainerRef<ModalStackRoutes>(); 173 const nav = navigationRef.current; 204 ref={navigationRef}
|