2 ms·
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
by javcasas 1y ago
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.
- majora2007 1y agoIn 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.
- javcasas 1y agoGood that they fixed the module obsession. And it would be better if they also fixed the other part of the problem.