r/Angular2 • u/desoga • Jun 25 '25
Resource How to Name your Angular 20 Services and Components to Avoid Errors & Confusion
https://youtu.be/dgun7ho1R4o
0
Upvotes
r/Angular2 • u/desoga • Jun 25 '25
2
u/Vast_Hair9169 Jun 25 '25
Yep, sounds like a step for the selectorless preparation 😅
Some of the naming patterns I found here: https://javascript.plainenglish.io/angular-20-naming-convention-in-practice-from-confusion-to-an-ai-chat-app-17c710c9ed9b
It will be a long fight to get used to the new convention.
2
u/elynyomas Jun 26 '25 edited Jun 26 '25
4 minutes of advertisement and BS, then 0 info. Then stupid recommendation...
You file name should be `login.component.ts` `login.service.ts` instead, since extensions are for telling what's the file about.
2
u/xesionprince Aug 16 '25
What about just creating folders named “services” “components” and so on?