Switch and other methods have been deprecated. They no longer support it. It needs to be updated with - Routes
Switch and other methods have been deprecated. They no longer support it. It needs to be updated with - Routes