When using useHash on the route, query params would be missing after navigating with the query params.
RouterModule.forRoot(routes, { useHash: true })
Navigating:
http://localhost:4200/app/#/user?search=test
Then became:
http://localhost:4200/app/#/user
When using
useHashon the route, query params would be missing after navigating with the query params.Navigating:
http://localhost:4200/app/#/user?search=testThen became:
http://localhost:4200/app/#/user