Optional params in router-lite by params object

This is by design. I think you are referring the unconfigured parameters by the “optional” parameters. Those parameters will be transferred to querystring by default. Hence, API wise it makes more sense to access the values from query string. The params is only for the configured parameters.