Comment by shitposting-all-day on 19/12/2024 at 20:43 UTC

34 upvotes, 3 direct replies (showing 3)

View submission: Is modern Front-End development overengineered?

For me it’s simultaneously over engineered and backwards. I feel like we were going in a good direction years ago with separation of concerns then React came along and wtf happened

Replies

Comment by soft-wear at 19/12/2024 at 21:36 UTC

34 upvotes, 0 direct replies

HTML, CSS and JS aren’t different concerns when they are all being used to implement the UX. Your calls to APIs should be invisible to your React components. They just call functions/hooks and respond to state changes with UI changes.

Theres a reasons we call it separation of *concerns* and not separation of *languages*.

Comment by pyabo at 19/12/2024 at 22:09 UTC

11 upvotes, 0 direct replies

Fo me the backward part is obvious every time I load up a web page and it's optimized for a 2" wide screen and I have to scroll down seven times to actually get to any content or the button I'm looking for.

Comment by bearicorn at 19/12/2024 at 20:51 UTC

8 upvotes, 3 direct replies

Where do you think the concerns have become joined together?