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