DEV Community

Discussion on: How to deploy React Application on IIS Server

Collapse
 
davidcastillo4 profile image
DavidCastillo4

Hi Sumit,
First I want to Thank You so much for your Post on “How to deploy React Application on IIS Server”. Took my a week to find a good article and yours worked first try!!!!!!.

Everything works except when I try to refresh on urls with parameter variables.
For example domain.com/user/2
In the above example I want to view details for user 2.
Have you figured out how to get that working for you?
If so would you please share. Thank you so much!!!!

I created a very simple app.js file below to illustrate.
Any reply from you I will promptly reply back.
codesandbox.io/s/browserrouterdemo...