What are different ways to redirect in react? | Router | react Interview Questions | NextRound.in