Sep 4, 2018 · 1 min read
Yea, I found that link too but it was not that helpful. I had to use BrowserRouter on client side for client side routing and StaticRouter for server side. I found that I was using BrowserRouter in another nested component inside App. But on server I wrote StaticRouter on App component. Due to this mismatch, the error kept showing up. When I used BrowserRouter on App component and withRouter for nested component inside App in the client side, I was able to start the server. I am now stuck with no CSS getting loaded when server is started. Thanks for the great article. It was very clear and helpful
