I try to understand the advantages or disadvantages for using optional and query parameters with Angular router (https://stackoverflow.com/a/44865817/11442461).
So, I didn't find any way to merge optional parameters, query parameter can achieve that. I read a lot about optional parameters, but authors often mean query parameters. So, I'm a bit confused about the two similar parameter systems in Angular and the reason for their existence in parallel.
I'd like to hear your recommendations.