When following the instructions for creating a custom serializer, there is no explanation how to provide custom selectors for the returned properties { url, params, queryParams } (as the default ones provided by getRouterSelectors cease to work). It's maybe not that hard to write code that works, the intimidating part for a lot of users might be the proper TS typing.
A good accompanying selectors example for this serializer would be gold. Thank you.
Information
When following the instructions for creating a custom serializer, there is no explanation how to provide custom selectors for the returned properties
{ url, params, queryParams }
(as the default ones provided bygetRouterSelectors
cease to work). It's maybe not that hard to write code that works, the intimidating part for a lot of users might be the proper TS typing.A good accompanying selectors example for this serializer would be gold. Thank you.
Documentation page
https://ngrx.io/guide/router-store/configuration#custom-router-state-serializer
I would be willing to submit a PR to fix this issue