suggestion in BreadcrumbService implementation

Forum rules
Please note that response time for technical support is within 3-5 business days.
Post Reply
User avatar
Tim033
Posts: 20
Joined: 02 Apr 2018, 21:13

02 Dec 2020, 20:37

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. :geek: :P :P :P

mert.sincan
Posts: 5281
Joined: 29 Jun 2013, 12:38

10 Dec 2020, 18:14

Thanks a lot for the suggestion. I'll talk about it with PrimeNG team.

Best Regards,

Post Reply

Return to “Mirage - PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 3 guests