getParsedLocationHref

Invalidate the current matches and optionally force them back into a pending state.

  • Marks all matches that pass the optional filter as invalid: true.

  • If forcePending is true, or a match is currently in 'error' or 'notFound' status, its status is reset to 'pending' and its error cleared so that the loader is re-run on the next load() call (eg. after HMR or a manual invalidation).