Modifying controller in willTransition if affecting the queryParams of "to" route.
- Dominant language
- TypeScript
- Stars
- 22.6k
- Forks
- 4.2k
- Avg merge
- 3d 12h
- Merged PRs (30d)
- 15
Description
I have transition from route-a to route-b.
the route-a has a query param objectType.
in willTransition hook of route-a I am resetting the objectType query param to null.
Below is the willTransition hook of route-a

When I am passing the queryParams to the route-b from route-a.
Below is the transition code from a component on route-a

controller of route-b.

**the resulting transition to route-b has no visible queryParam in the url**
This is resulting in route url "/route-b" instead of "/route-b?liveReload=aslkdas"
Contributor guide
Assessment
This issue has not been assessed yet.