code: function areScenesShallowEqual(one, two) {
    return (
      one.key === two.key &&
      one.index === two.index &&
      one.isStale === two.isStale &&
      one.isActive === two.isActive &&
      areRoutesShallowEqual(one.route, two.route)
    );
  }
docs: Whether two routes are the same.