Need to be able to debug EventBus in devtools.
Create a separate tree for EventBus or something ?
Eventbus is not a recommended pattern to use in your applications broadly.
Adding an section for it to devtools (ignoring the problems of implementing one for a second) would make it seem as if we recommend using them intensly. We generally don't.
Yes I agree overusing EventBus is a bad practise.
However, there are specific cases where EventBus is the perfect use case in an app. For example, making native variables reactive, such as variables from windows or document or browser specific information.
These information are not considered as application data but needed to be used globally is perfect use case for EventBus.
I doubt of the technical reasonable feasibility and ratio between effort required vs. actual usage of this feature.
Most helpful comment
Eventbus is not a recommended pattern to use in your applications broadly.
Adding an section for it to devtools (ignoring the problems of implementing one for a second) would make it seem as if we recommend using them intensly. We generally don't.