▲ | javcasas 7 hours 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 2 hours ago | parent [-] | |
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. |