Currently, the best way to skip the default behavior of sticky query params is by using the merge-query-params as follows:
{{link-to "Link!" "parent.child"
(merge-query-params
(reset-query-params route="another.route")
(create-query-params childQp="only-child-qp-is-set")
)
}}
I think it would be amazing to have a cleaner, more concise way to do the same task. I suggest the creation of a new helper with the following interface:
{{link-to "Link!" "another.route"
(new-helper-query-params route="another.route" param1="new-value-to-param1")
}}
Such helper would exist with the single purpose of supporting links without sticky query params.
Currently, the best way to skip the default behavior of sticky query params is by using the
merge-query-paramsas follows:I think it would be amazing to have a cleaner, more concise way to do the same task. I suggest the creation of a new helper with the following interface:
Such helper would exist with the single purpose of supporting links without sticky query params.