javascript - An application using react-router jumps back to the homepage after refreshing
phpcn_u1582
phpcn_u1582 2017-05-19 10:27:24
0
1
667

Like the title, how to solve this problem?
One idea is:
When refreshing, pass the front-end route to the back-end, and then pass it back to the front-end from the back end. Is this method feasible?
Maybe you have a better way, please enlighten me, thank you!

The problem has been solved by the front-end girl

phpcn_u1582
phpcn_u1582

reply all(1)
PHPzhong

Your... idea is too weird and useless
If you want, just control the routing directly on the backend, if not, leave it to the frontend...

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template