Один вызов API Несколько раз в угловой
#angular Вопрос: ngOnChanges(changes: SimpleChanges) { if(changes.formName){ this.getFormConfigurations(this.formName); } getFormConfigurations(formName): void { console.log('Inside form call..'); this.api.getForm(formName).subscribe((result)=>{ } } In API getForm(name): Observable<any> { console.log("Inside..API") return this.http<>.... } Я использую этот подход…