DEV Community

loading...

Discussion on: Angular Architecture Patterns and Best Practices (that help to scale)

Collapse
hankchiutw profile image
Hank Chiu

Great article! I got some inspirations in mind:

  • This is helpful to avoid circular dependencies while Presentation layer only imports Abstraction layer, Abstraction layer only imports Core layer.
  • It's the fractional pattern when saying module design and folder structure.
    • I may apply index.ts and public-api.ts to determine what to expose explicitly.
  • For readers from React, smart and dumb components are stateful and stateless components.
    • ChangeDetectionStrategy.OnPush in dumb components is usually underrated.
  • How would the testing look like under such architecture?