-
-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for custom serializer and custom router state type #260
Comments
Thank you for your feature request. What's a use case for this? |
Currently the used serializer is always |
I'm not very familiar with |
Indeed. It's used to allow the user to add more or less state slices to the router state. It can be used to aggreagte data across the route tree and omit unwnated data. |
I'm not sure how adding this is better than subscribing to the In NgRx RouterStore this functionality was added to support Redux Dev Tools. Currently, NgRx ComponentStore doesn't have native support for Redux Dev Tools. |
Even if we were to add it, I worry it would increase the bundle size significantly even for the xx% of applications never using this feature. |
The current ngrx router-store supports provofing a custom state serializer and working with a custom state type. router-component-store should support this too.
Funding
The text was updated successfully, but these errors were encountered: