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

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

    return result
  }