function fullPath() {
    let result = state.path
    let stateParent = state.parent

    while (stateParent) {
      if (stateParent.path) result = stateParent.path + '/' + result
      stateParent = stateParent.parent
    }

    return result
  }
function fullPath() {
    let result = state.path
    let stateParent = state.parent

    while (stateParent) {
      if (stateParent.path) result = stateParent.path + '/' + result
      stateParent = stateParent.parent
    }

    return result
  }
function fullPath ( ) { let result = state . path let stateParent = state . parent while ( stateParent ) { if ( stateParent . path ) result = stateParent . path + '/' + result stateParent = stateParent . parent } return result }
/*
The full path, composed of all the individual paths of this state and its parents.
/ * The full path composed of all the individual paths of this state and its parents .