How to preserve query parameters in react-router v4

前端 未结 3 1411
深忆病人
深忆病人 2021-01-17 13:56

Users redirected to my app after login (server on java), and they have url, which looks like this http://10.8.0.29:8083/html/?locale=RU&token=1c5c71f2-dcda-4a51-8cf6-f8

3条回答
  •  刺人心
    刺人心 (楼主)
    2021-01-17 14:16

    I switched off the hash router in this project, which preserves all parameters in route.

提交回复
热议问题