React Router - How to pass previous location pathname to current

前端 未结 0 609
天命终不由人
天命终不由人 2021-01-14 10:05

Is it possible to pass the previous path to current location?

For instance, I have 2 Routes. Home / and Profile /profile

If I am In

相关标签:
回答
  • 消灭零回复
提交回复
热议问题