Searched refs:rootState (Results 1 – 11 of 11) sorted by relevance
| /expo/packages/expo-router/src/global-state/ |
| H A D | routing.ts | 72 const rootState = navigationRef.getRootState(); constant 76 this.linking.getPathFromState?.(rootState, { 96 return navigationRef.dispatch(getNavigateReplaceAction(state, rootState)); 98 return navigationRef.dispatch(getNavigatePushAction(state, rootState)); 125 function getNavigatePushAction(state: ResultState, rootState: NavigationState) { 129 target: rootState.key,
|
| H A D | router-store.tsx | 32 rootState: ResultState | undefined; 57 this.rootState = undefined; 91 this.rootState = this.initialState; 126 // Additionally that state may already equal the rootState if it was updated within a hook 127 if (state && state !== this.rootState) { 146 store.rootState = state; 189 return this.rootState!; 206 if (store.rootState !== currentState) {
|
| /expo/packages/expo-router/build/global-state/ |
| H A D | router-store.js | 25 rootState; field in RouterStore 42 this.rootState = undefined; 66 this.rootState = this.initialState; 99 if (state && state !== this.rootState) { 115 exports.store.rootState = state; 150 return this.rootState; 165 if (exports.store.rootState !== currentState) {
|
| H A D | routing.js | 83 const rootState = navigationRef.getRootState(); 85 let base = this.linking.getPathFromState?.(rootState, { 101 return navigationRef.dispatch(getNavigateReplaceAction(state, rootState)); 103 return navigationRef.dispatch(getNavigatePushAction(state, rootState)); 120 function getNavigatePushAction(state, rootState) { argument 124 target: rootState.key,
|
| H A D | router-store.d.ts | 19 rootState: ResultState | undefined; property in RouterStore
|
| H A D | routing.js.map | 1 …rootState = navigationRef.getRootState();\n\n if (href.startsWith('.')) {\n let base =\n …
|
| H A D | router-store.js.map | 1 …rootState: ResultState | undefined;\n nextState: ResultState | undefined;\n routeInfo?: UrlObjec…
|
| /expo/packages/expo-router/src/__tests__/ |
| H A D | globalState.test.node.tsx | 12 rootState: undefined, 77 rootState: undefined, 100 rootState: {
|
| /expo/packages/expo-router/src/fork/ |
| H A D | useLinking.native.ts | 177 const rootState = navigation.getRootState(); 179 if (state.routes.some((r) => !rootState?.routeNames.includes(r.name))) {
|
| /expo/packages/expo-router/build/fork/ |
| H A D | useLinking.native.js | 147 const rootState = navigation.getRootState(); 148 if (state.routes.some((r) => !rootState?.routeNames.includes(r.name))) {
|
| H A D | useLinking.native.js.map | 1 …ng configuration\n const rootState = navigation.getRootState();\n\n if (state.routes…
|