Changing optional params and passing props to route components · Issue #1224 · vuejs/vue-router · GitHub
Setting an optional parameter to undefined generates a link with `undefined` in the path instead of ommiting the paramater, like in vue- router@3 · Issue #855 · vuejs/vue-router-next · GitHub
![How to deal with the loss of parameters in Vue router routing parameter refresh page | Develop Paper How to deal with the loss of parameters in Vue router routing parameter refresh page | Develop Paper](https://imgs.developpaper.com/imgs/202151293026930.png)
How to deal with the loss of parameters in Vue router routing parameter refresh page | Develop Paper
![Vue.js: Routing With Vue-Router. Help your users get to where they're… | by Santiago García da Rosa | Better Programming Vue.js: Routing With Vue-Router. Help your users get to where they're… | by Santiago García da Rosa | Better Programming](https://miro.medium.com/max/742/1*bo-QwxZZbcKrrOXkvDCvMQ.png)