Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Production mode Error: You should not use <Switch> outside a <Router> #54

Open
AftabFalak opened this issue Aug 21, 2020 · 2 comments
Open

Comments

@AftabFalak
Copy link

Project runs find in development mode but in but is not is production. it showing
You should not use Switch outside a Router
and when i use BrowserRouter in App.js it showing error Browser history need dom
also i try Router from react-router dom than show no error but rendring same page
kindly help me. thanks in advance

@rherwig
Copy link
Owner

rherwig commented Sep 10, 2020

Sorry for the delay. I have been very busy lately! I'm gonna have a look at this issue

@germanburgardt
Copy link

any news about that?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants