React app hot-loader (auto-refresh) only works when starting the frontend/backend servers separately not using concurrently?
I'm building a react app where I seed data to a mongoDB database and again fetch that data from that database and render the data to the UI. In this case in the Paintings.js component. However when changes are made to this component the hot-load is activated a spinner is shown but after a few seconds the data is no longer visible in the UI. Only when manually refreshing the page. Sometimes there is this error: 'Proxy error: Could not proxy request /paintings from localhost:3000 to http://localhost:5000/' I'm running react 17.0.2, scripts 4.0.3 I reinstalled create-react-app, installed nodemon
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.