The intention is for the tag operator to have close to zero performance impact, so that it can be left in production code. Any kind of stack analysis would be far too expensive. Also, the tag operator takes a simple string so that it’s unopinionated regarding the tagging strategy.

If you find the need for more automated, stack-based tagging, you can easily write your own operator that wraps tag, passing it whatever you deem appropriate.

That said, I am working on a Chrome DevTools extension for rxjs-spy that should hopefully make tagging less necessary and should have a bunch of new features, too.

RxJS core team member; front-end developer; mentor; speaker; open-source contributor

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store