typebytes / angular-checklist

🔥 Curated list of common mistakes made when developing Angular applications
https://angular-checklist.dev
MIT License
316 stars 66 forks source link

[Review][Architecture] provide shared services only on root level #120

Open geromegrignon opened 6 months ago

geromegrignon commented 6 months ago

Description

The title is still valid as some people are creating multiple instances of a shared service by providing it at different levels of the injector tree.

However, the example should not be any longer about the SharedModuleas shown as a bad practice nowadays.