Answer the question
In order to leave comments, you need to log in
How to make the site use react routing and not the web server?
If I understood everything correctly, then with the help of the Router Switch and Route components, you can control routing in react. But when specifying the address on the command line, the component I need is not displayed (the component is the simplest, there can be no error in it). The reason why the component is not displayed is that when you go to some address, the site sends a request to the server, which has completely different actions associated with this address. How to make the site use react routing and not the web server?
Answer the question
In order to leave comments, you need to log in
which has completely different actions associated with this address.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question