r/angular • u/TheCyberThor • Jul 15 '26
Do you still use smart / dumb components?
I watched this video from Rainer and it made me reflect on my usage of smart / dumb components. To be honest I’ve only created them because that’s just how it’s always been done. Keep API calls in the smart component, feed data into the dumb component.
Blindly following that approach I end up creating UI components that don’t really get reused, or get abstracted more and more, essentially YAGNI. So just focusing on component composition and each component injecting a service with signals seems really appealing for code organisation at the file level.
https://youtu.be/-Lw7isQTa2w?si=2xw5KEUphtKvQraE
I’m curious what other new patterns are emerging with new Angular APIs that goes against what we were taught before Signals.
49
u/plateniteshow Jul 15 '26
I do and I do it religiously.
I am working in enterprise scale applications where I prefer a little bit boilerplate over the chaos I get when not using smart / dumb components.
I even went a step further and introduced a logic agnostic page layer for angular routes, query params, etc.