1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Anuncie Aqui
    Anuncie aqui você Também: fdantas@4each.com.br

Is It Acceptable for a Shared Component to Interact with the Data Access Layer in Angular App...

Discussão em 'Angular' iniciado por abdou_behind_the_code, Setembro 27, 2024.

  1. I have an Angular application following a Feature-Based Architecture. I need to create a shared component that will be used across multiple feature components. This shared component should call an API to fetch data from the backend server.

    However, I am concerned about potentially violating the Feature-Based Architecture principles if I allow the data access layer to interact directly with a dumb components layer.

    Would this approach break the architectural principle, and if so, what is the best way to handle such a scenario while maintaining good architectural practices?

    Continue reading...

Compartilhe esta Página