WARN export ‘Switch’ (imported as ‘Switch’) was not found in ‘react-router-dom’
Hello Friends 🙏, today I was setting up a new React project from scratch without using create-react-app and after doing all the required steps when I compiled the React App, I got below warning😮: So basically it is complaining for the Switch here, below is the code: Then I did a search on this error …
WARN export ‘Switch’ (imported as ‘Switch’) was not found in ‘react-router-dom’ Read More »