We used to pass query parameter with navigateTo(page, {'sequence_id' : 123}) and then access it with appsmith.URL.queryParams.sequence_id
But couple of days ago it stopped working in edit mode, although it still works in production mode.
In edit mode, there is no parameter in the url, instead we have /edit?branch=main#niztnxjv3o