@efx wrote:
I have a handful of routes that use the same controller in my application. They use a few sticky query parameters so users can conveniently load some state in the app. Yay URLs!
I also have
<LinkTo>
in route template.Must I always pass
@query
to theseLinkTo
components and anytransitionTo
invocation? Or should the query parameters and their selected values persist throughout navigation until I navigate withtransitionTo('my-route', { queryParams: { someProp: null }})
or clear the properties on the controller?I think I see https://github.com/emberjs/ember.js/issues/16349 in my application but wanted to confirm my understanding of how query parameters should work.
Posts: 2
Participants: 1