* Add warning for bad href being passed to router * Apply suggestions from code review Co-Authored-By: Joe Haddad <timer150@gmail.com> * Inline invalidHref for better code elimination