@Tess - i believe this is happening again. I have a multipage app, with a table of data and then each item has a link to it's details page. When i load the table it has the query param mentioned above but going to the details page removes the query param and i'm left with updated UI but out of date backend
Hi @dan_ramos
Sounds like the query param is being lost because page navigation in multipage apps doesn’t preserve URL params by default.
To keep it when navigating to your details page, you can:
- Append the param explicitly in your
goToPage()action, e.g.goToPage("details", { queryParams: { id: currentRow.id } }). - Or, if you’re using a Link component, set its target URL manually to include
?id={{ currentRow.id }}.
That way the details page will always receive the correct query param, and you can re-fetch or filter data on load without relying on stale state.
Thanks for the suggestion, @DavidTech! @dan_ramos if you are still working on this, it would be helpful to see a json export of the app