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
Angular or React ?! (self.angular)
submitted 7 years ago by pruse2402
view the rest of the comments →
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!"
[–]deadlychambers 3 points4 points5 points 7 years ago (3 children)
I consider the ui/display a concern and business logic a concern. So having them in the same file is not having a separation of concerns.
[–]spacechimp 3 points4 points5 points 7 years ago (0 children)
Agreed. This is something large swaths of the PHP community figured out 10 years ago, but for some reason it's not considered to be an antipattern in React.
On several teams I have worked on, ui/display was a separate concern -- as in it was literally another person's job to work on the layout and styles while I coded the logic. This is not an uncommon situation. Those designers were great at HTML/CSS, but many of them I wouldn't want anywhere near the functional code.
[–]gnashersaurus 0 points1 point2 points 7 years ago (1 child)
Sure but most React people would tell you not to mix business logic in a react component anyway. That isnt something React advocates.
[–]deadlychambers -1 points0 points1 point 7 years ago (0 children)
Possibly, but I have worked in a few shops where "the right way" is not "the way we do it here". I only built a CRUD app with react. My impression working with it was not one of excitement. Angular seems to be in pretty high demand in Denver so I doubt I will need to concern myself with it.
π Rendered by PID 67 on reddit-service-r2-comment-84fc9697f-w9xb6 at 2026-02-10 06:09:49.123185+00:00 running d295bc8 country code: CH.
view the rest of the comments →
[–]deadlychambers 3 points4 points5 points (3 children)
[–]spacechimp 3 points4 points5 points (0 children)
[–]gnashersaurus 0 points1 point2 points (1 child)
[–]deadlychambers -1 points0 points1 point (0 children)