code: function isActive(location) {
      var indexOnlyOrDeprecatedQuery = arguments.length <= 1 || arguments[1] === undefined ? false : arguments[1];
      var deprecatedIndexOnly = arguments.length <= 2 || arguments[2] === undefined ? null : arguments[2];
  
      var indexOnly = void 0;
      if (indexOnlyOrDeprecatedQuery && indexOnlyOrDeprecatedQuery !== true || deprecatedIndexOnly !== null) {
         false ? (0, _routerWarning2.default)(false, '`isActive(pathname, query, indexOnly) is deprecated; use `isActive(location, indexOnly)` with a location descriptor instead. http://tiny.cc/router-isActivedeprecated') : void 0;
        location = { pathname: location, query: indexOnlyOrDeprecatedQuery };
        indexOnly = deprecatedIndexOnly || false;
      } else {
        location = history.createLocation(location);
        indexOnly = indexOnlyOrDeprecatedQuery;
      }
  
      return (0, _isActive3.default)(location, indexOnly, state.location, state.routes, state.params);
    }
docs: Signature should be (location, indexOnly), but needs to support (path, query, indexOnly)