code: function transitionTo(pathQueryOrName) {
      const name = leafStates[pathQueryOrName]
      const params = (name ? arguments[1] : null) || {}
      const acc = name ? arguments[2] : arguments[1]
  
      logger.log('Changing state to {0}', pathQueryOrName || '""')
  
      urlChanged = false
  
      if (name)
        setStateByName(name, params, acc)
      else
        setStateForPathQuery(pathQueryOrName, acc)
    }
docs: /*
  Request a programmatic state change.
  
  Two notations are supported:
  transitionTo('my.target.state', {id: 33, filter: 'desc'})
  transitionTo('target/33?filter=desc')