bespoyasov / frontend-clean-architecture

React + TypeScript app built using the clean architecture principles in a more functional way.

Home Page:https://bespoyasov.me/blog/clean-architecture-on-frontend/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

What should I do if I need to use metrics and logging services in the application layer?

budarin opened this issue · comments

For composing cross-cutting concerns, I'd recommend decorators.

If, for any reason, it doesn't work for you, there's always an option to just declare those services through ports and “inject” and use them as other dependencies.

Alex, most issues are questions on the concept so you should add discussions to the project and convert such issues to discussions.

This will help other developers in learning and will allow you not to create repetitive questions.