DEV Community


Discussion on: TS decorators (1/2): the basics

jannikwempe profile image
Jannik Wempe Author

Hi Tomy,
I am happy that you like it! 😊
Most of the frameworks use it for dependency injection (DI). That is also what Inversify is created for. I will write something about DI as well...

Most of the time I have used them for debugging purposes. For example log execution time or log value changes.

But one goal for me writing these posts is to deal with decorators in depth and find valuable use case and write them down 😉