Home
last modified time | relevance | path

Searched refs:rootState (Results 1 – 11 of 11) sorted by relevance

/expo/packages/expo-router/src/global-state/
H A Drouting.ts72 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 Drouter-store.tsx32 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 Drouter-store.js25 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 Drouting.js83 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 Drouter-store.d.ts19 rootState: ResultState | undefined; property in RouterStore
H A Drouting.js.map1rootState = navigationRef.getRootState();\n\n if (href.startsWith('.')) {\n let base =\n …
H A Drouter-store.js.map1rootState: ResultState | undefined;\n nextState: ResultState | undefined;\n routeInfo?: UrlObjec…
/expo/packages/expo-router/src/__tests__/
H A DglobalState.test.node.tsx12 rootState: undefined,
77 rootState: undefined,
100 rootState: {
/expo/packages/expo-router/src/fork/
H A DuseLinking.native.ts177 const rootState = navigation.getRootState();
179 if (state.routes.some((r) => !rootState?.routeNames.includes(r.name))) {
/expo/packages/expo-router/build/fork/
H A DuseLinking.native.js147 const rootState = navigation.getRootState();
148 if (state.routes.some((r) => !rootState?.routeNames.includes(r.name))) {
H A DuseLinking.native.js.map1 …ng configuration\n const rootState = navigation.getRootState();\n\n if (state.routes…