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

Loading data with api calls before all components load

Discussão em 'Angular' iniciado por ucef, Setembro 10, 2025.

  1. ucef

    ucef Guest

    i should retrieve some data (autorisations) with an api call before the load of component. is it possible to create a resolver for app.component.ts or it is a bad solutions ?

    this.service.user$.subscribe({
    next: () => {
    this.autorisations = this.headerService.recupererDroitsHeader();
    },
    });

    Continue reading...

Compartilhe esta Página