Answer the question
In order to leave comments, you need to log in
How to connect client-side routing and web-server return?
The problem is that when entering some web server address, a 404 page is returned. Redirecting to index is not an option, since the address is not stored, the wrong page is rendered. How are these two components related? It would be possible to modify the given index page according to the requested address to restore the state from the client, this option is not desirable.
What do you suggest?
Answer the question
In order to leave comments, you need to log in
You can use some unique hash in the URL (+ see comment below). According to the Scheme:
Path X -> Redirect -> index url + unique identifier in the hash -> Path X.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question