trivago / melody

Melody is a library for building JavaScript web applications.
https://melody.js.org
Apache License 2.0
215 stars 39 forks source link

Improve warnings for `melody-streams` #155

Open cpatti97100 opened 4 years ago

cpatti97100 commented 4 years ago

When using melody-streams we sometimes get a very useful warning that says "Your component did not emit updates for 500ms".

Unfortunately when developing in the scope of a large application, it can be hard from time to time to understand where this warning is coming from.

Having the name of that component in the message would make this easier :) Not sure about the internals but something like Function.name could come at hand.

Thanks!