Reads and updates query parameters using Backstage navigation, without a
page router. Falls back to React Router navigation in the old frontend system.
Defaults supply missing values until the first update and do not change the
URL. Updates replace the query on the current pathname, clear the fragment,
and push a history entry unless replacement is requested. Functional updates receive
a copy of the parameters from the current render. Like React Router's query
setter, multiple calls in one render do not queue state updates.
Reads and updates query parameters using Backstage navigation, without a page router. Falls back to React Router navigation in the old frontend system.
Defaults supply missing values until the first update and do not change the URL. Updates replace the query on the current pathname, clear the fragment, and push a history entry unless replacement is requested. Functional updates receive a copy of the parameters from the current render. Like React Router's query setter, multiple calls in one render do not queue state updates.