I think that the BreadcrumbService implementation should consider using BehaviorSubject instead of Subject, since not maintaining the state of the array can influence the information displayed. It could happen, if lazy modules are used, that the service is created before the breadcrumb component, and therefore the state is lost.
Sorry if the observation is not convenient or if you see another alternative solution.
Thanks a lot.
suggestion in BreadcrumbService implementation
Forum rules
Please note that response time for technical support is within 3-5 business days.
Please note that response time for technical support is within 3-5 business days.
-
- Posts: 5281
- Joined: 29 Jun 2013, 12:38
Thanks a lot for the suggestion. I'll talk about it with PrimeNG team.
Best Regards,
Best Regards,
Github Profile: https://github.com/mertsincan
-
- Information
-
Who is online
Users browsing this forum: No registered users and 1 guest