Question - Why switch keyword used in React Router v4?
Answer -
The 'switch' keyword is used to display only a single Route to rendered amongst the several defined Routes. The component is used to render components only when the path will be matched. Otherwise, it returns to the not found component.