V1.0.x #803

Closed
opened 2025-08-09 17:17:44 +00:00 by fergalmoran · 0 comments
Owner

Originally created by @trongphan on 4/25/2017

Browser to remember client side routing history and also server side routing.

Assume we have client side routing as below:
http://localhost:5000/
http://localhost:5000/counter
http://localhost:5000/fetchdata

We also have the routing as below which is not part of client side routing. This will make a request to server to Home Controller and TP action
http://localhost:5000/home/tp

Every work fine except the browser does not keep history of this server side routing when we access any client side routing park.

For instance, I access http://localhost:5000/home/tp
then http://localhost:5000/
then http://localhost:5000/counter

When I clieck Back in browser, it stop at http://localhost:5000/. It does not track http://localhost:5000/home/tp in history.

I guess React-Router have remove all history from browser to manage history in their code.

Thanks,

*Originally created by @trongphan on 4/25/2017* Browser to remember client side routing history and also server side routing. Assume we have client side routing as below: http://localhost:5000/ http://localhost:5000/counter http://localhost:5000/fetchdata We also have the routing as below which is not part of client side routing. This will make a request to server to Home Controller and TP action http://localhost:5000/home/tp Every work fine except the browser does not keep history of this server side routing when we access any client side routing park. For instance, I access http://localhost:5000/home/tp then http://localhost:5000/ then http://localhost:5000/counter When I clieck Back in browser, it stop at http://localhost:5000/. It does not track http://localhost:5000/home/tp in history. I guess React-Router have remove all history from browser to manage history in their code. Thanks,
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/JavaScriptServices#803
No description provided.