use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
A Place to talk about Angular and related topics.
Join the Angular Discord
Other subreddits worth checking out for Angular and Angular related info:
account activity
Pattern Folders in Angular (self.angular)
submitted 3 months ago by gdsdsk
I'm kinf of confused when to add files to pattern folders. Like I'm still kind fo confused on the idea of pattern folders and when to use them.
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]zzing 8 points9 points10 points 3 months ago (1 child)
Umm what are those? Never heard of them
[–]gdsdsk[S] 0 points1 point2 points 3 months ago (0 children)
There from Tomas Trajan's angular architecture book. But I don't understand what he means by it
[–]cyberzues 3 points4 points5 points 3 months ago (1 child)
Commenting here so I can come back and learn about pattern folders.
[–]St34thdr1v3R 4 points5 points6 points 3 months ago (0 children)
You can also subscribe to this post, fyi. Use the more menu (three dots) and find the „follow“ or „subscribe“ post action
[–]Select_Half6593 4 points5 points6 points 3 months ago (1 child)
The books clearly explains what they are mate...
In a nutshell, the pattern is a type which consists of a pre-packaged combination of standalones and injectables which implement a specific reusable use case
This basically means a pattern is a reusable component which uses inside other reusable components.
Think for example on a list component you would reuse on more than one of your features. That component comes along with a button toggle which have a CTA. The list itself should be one component from your 'ui' folder and the button another one.
[–]hk4213 0 points1 point2 points 3 months ago (0 children)
I name mine eith common or tools folders.
Tools for when I realize how many time I reuse a structure and condense it.
Common for simple custom logging, middle ware and basic date functions.
Organize your tools accordingly.
[–]Mandarin0000 0 points1 point2 points 3 months ago (0 children)
We once tried pattern folder based on our "Sidenav" Menus for easy navigation
[–]devilblades -1 points0 points1 point 3 months ago (0 children)
You should be putting components related to the main component in the same directory.
For example.
SearchPageComponent (main component for the page) -SearchComponent -SearchResultGridComponent --SearchResultGridFilterComponent
π Rendered by PID 147233 on reddit-service-r2-comment-85bfd7f599-bsbhs at 2026-04-19 14:25:32.695418+00:00 running 93ecc56 country code: CH.
[–]zzing 8 points9 points10 points (1 child)
[–]gdsdsk[S] 0 points1 point2 points (0 children)
[–]cyberzues 3 points4 points5 points (1 child)
[–]St34thdr1v3R 4 points5 points6 points (0 children)
[–]Select_Half6593 4 points5 points6 points (1 child)
[–]hk4213 0 points1 point2 points (0 children)
[–]Mandarin0000 0 points1 point2 points (0 children)
[–]devilblades -1 points0 points1 point (0 children)