Navigate event should use PubSub
What needs to be done?
We noticed that the navigate event can be very long to execute in some apps, because a lot of sib-display are listening to it.
Instead of notifying every sib-display when a navigate
event is fired, we should use the PubSub system, to notify only the one we need. This could improve quite a lot the performances
For example, for the sib-app
, we evaluated that with a simple click on a circle, the navigates handles take around 100ms to execute, while the goal is just to set an active
class on 1 sib-display.
Links
- Performances issues in FNK: applications/sib-app#399