Very nice! Have you found the need to create your own decorators yet? I know popular projects such as Angular and Inversify use them, but I've never found the need to reach for them to create functionality myself.
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 😉
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Very nice! Have you found the need to create your own decorators yet? I know popular projects such as Angular and Inversify use them, but I've never found the need to reach for them to create functionality myself.
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 😉