Angular version 10 has left me feeling bewildered. Let's explore a few scenarios:
Scenario 1: If I create AComponent.ts/html/css without an A.module.ts, should I declare and export it in app.module.ts? Can another module 'B' use the 'A' selector or does 'B' need to import app.module.ts?
Scenario 2: Would it be better to create an A.module.ts that declares and exports AComponent, requiring B.module.ts to import A.Module? This approach could allow B.html to...something.
Scenario 3: Alternatively, could I directly reference AComponent from BComponent.ts with an Import AComponent statement, even if AComponent is not declared in any module? This would enable B.html to...something else.
Could someone offer some clarity on these scenarios? My Angular 10 application is behaving strangely, and I feel lost. Your guidance would be greatly appreciated.
Warm regards, Yogi