react-refresh-webpack-plugin icon indicating copy to clipboard operation
react-refresh-webpack-plugin copied to clipboard

To handle the routes on the client

Open dplopezsioux opened this issue 1 year ago • 1 comments

To handle the routes on the client, if the user forces the URL on the client side, Express will send the React app to the front-end, and then the application can handle the route in the front-end.

dplopezsioux avatar Nov 28 '23 15:11 dplopezsioux

I am using the example configuration, but with react-router, it does not work for me if I force the route in the browser because express only sends the application to the URL "/". I added that configuration to send the HTML to all the URLs so that React can manage the routes in the interface.

dplopezsioux avatar Nov 28 '23 15:11 dplopezsioux

Thanks!

pmmmwh avatar Apr 27 '24 23:04 pmmmwh