react router route redirect url code example Example: redirect react router <Redirect to="/somewhere/else" />