imports/vx/client/code/ux.js
/**
     * Initialize stack and back labels, initializing for a new route or
     * possibly resetting state after unexpected condition.
     *
     * @param {string} routePath Path to route coming up next.
     */
Initialize stack and back labels, initializing for a new route or
possibly resetting state after unexpected condition.

@param {string} routePath Path to route coming up next.
Initialize stack and back labels initializing for a new route or possibly resetting state after unexpected condition . @param { string } routePath Path to route coming up next .
initStackAndBackLabels(routePath) {
        const iosState = { ...Store.getState().iosState }
        iosState.stack = []
        iosState.majorBackLabel = null
        iosState.minorBackLabel = null
        UX.mutatePanelMap(iosState, routePath, VXApp.getInitialPanel(routePath))
        Store.dispatch(setIosState(iosState))
    }
initStackAndBackLabels ( routePath ) { const iosState = { ... Store . getState ( ) . iosState } iosState . stack = [ ] iosState . majorBackLabel = null iosState . minorBackLabel = null UX . mutatePanelMap ( iosState , routePath , VXApp . getInitialPanel ( routePath ) ) Store . dispatch ( setIosState ( iosState ) ) }
Initialize stack and back labels, initializing for a new route or
 possibly resetting state after unexpected condition.
Initialize stack and back labels initializing for a new route or possibly resetting state after unexpected condition .