export function pushRoute(route, key) {
  if (!key) {
    throw new Error('pushRoute requires key argument');
  }