News for hackers. Stuff that matters.
Re:React Won by Default – and It's Killing Front End Innovation by javcasas on Tuesday September 16, 2025 @04:19AM (#45259518)
Angular: Where is the code for the <foo/> component that is used here? Anywhere in the codebase, maybe defined multiple times, depending on module configuration one or another may be used. Good luck finding which one.

React: Where is the code for the <Foo/> component that is used here? Either defined in the same file or imported, like any other javascript thing.

But React is the crazy one.

Re:React Won by Default – and It's Killing Front End Innovation by majora2007 on Tuesday September 16, 2025 @09:45AM (#45262203)
In modern day Angular, everything is standalone, so the module issue doesn't apply.

I've been coding in Angular since 2 and I have never had a duplicate component with the same name. Almost every Angular app uses nearly the same folder structure.

Re:React Won by Default – and It's Killing Front End Innovation by javcasas on Tuesday September 16, 2025 @11:56AM (#45263982)
Good that they fixed the module obsession. And it would be better if they also fixed the other part of the problem.