@xBlack wrote:
What is the correct way of having multiple routes share the same query param?
Say I have a
queryParam
for a city. Once that’s set, I’d like that any of the three routes that I have, use the city value that was already set, but still allow changing from any route.Initial thought was using a computed property with a
get
/set
and a service, but computed doesn’t appear to work as a query param.
Posts: 3
Participants: 2