Skip to main content
Filter by
Sorted by
Tagged with
Advice
0 votes
3 replies
46 views

I'm working with Angular 21 and I've added an interceptor like this: export const httpErrorInterceptor: HttpInterceptorFn = (req, next) => { return next(req).pipe( catchError((error: ...
KrzysiekYESS's user avatar
-3 votes
0 answers
32 views

getLiveGraph(uid: number, timeOut: number) { const config = this.configStore.getData(); return webSocket<LiveGraph>( `${config.wsBaseUrl}/subscriber/${uid}/live_graph/${timeOut}` ...
Tamil Vanan's user avatar
0 votes
0 answers
90 views

I could successfully migrate my Angular 20/Jasmine/Karma app to Angula r21/Vitest All my tests are running correctly, except the ones that use debounceTime from RxJS As a workaround for now, ny unit ...
Paulo Costa's user avatar
1 vote
0 answers
43 views

My app uses a facade service (singleton injectable) with signals for state management and RxJS for API calls. I'm experiencing an inconsistent UI update problem with a table after a successful create ...
Devcat's user avatar
  • 11
1 vote
1 answer
60 views

I'm working with Angular and have a scenario where a parent component passes an object (e.g., product) to a child component via property binding ([product]="product"). The child component ...
bambi's user avatar
  • 55
1 vote
1 answer
56 views

I'm trying to make 3 sequential GET requests using RxJS ajax operator. If one of the ajax requests throws an error(404 status code, for example), the rest won't execute. Is it possible pipeline to ...
Igor's user avatar
  • 374
-3 votes
1 answer
91 views

In Angular/RxJS, when should you use tap({ error }) and when catchError for side effects? How do you best separate the two logically or combine them? For example, does resetting the UI to its previous ...
Fabian Röhrle's user avatar
0 votes
1 answer
73 views

We are facing strange error in our application, some users facing problems with export functionality. Code below is what we have in our codebase: exportProcess = this.exportProcessSubject.pipe( ...
wujekkiryl's user avatar
1 vote
1 answer
98 views

I am trying to implement autosuggest functionality in my Angular app. The desired flow should be as: user types in something an autosuggest list will populate user may select one item from the list ...
Bhaswati Choudhury's user avatar
3 votes
1 answer
34 views

Suppose I want to do the following this.http.get(...).pipe( switchMap(httpResult => this.database.storeValue(httpResult.objectA) ).subscribe((databaseResult) => { // I have lost the ...
Wouter Vandenputte's user avatar
1 vote
1 answer
182 views

I spent hours reading about npm dependencies issues here, but I still don't really understand most dependencies error messages, they often don't really make sense and sometimes the dependency ...
Julien N's user avatar
  • 3,930
0 votes
1 answer
108 views

I am making an Angular frontend and got really unexpected behaviour after an HTTP DELETE call. When in component code I call directly HttpClient.delete, it logs 'test'. If I call the delete in a ...
Xavier Weber's user avatar
1 vote
2 answers
120 views

I have a stream of predicates I want to send to an API to execute. I only need to identify the first four (for example) that return true. Although I can send API requests in parallel, each API call is ...
Neill's user avatar
  • 1,191
4 votes
1 answer
84 views

I came across this implementation of the outsideCLick directive ngOnInit() { this._ngZone.runOutsideAngular(() => { fromEvent<MouseEvent>(document, DomEventsEnum.MOUSEDOWN, { ...
Dima Savenkov's user avatar
1 vote
1 answer
107 views

[ERROR] TS2740: Type '{}' is missing the following properties from type 'ExpenseModel[]': length, pop, push, concat, and 26 more. [plugin angular-compiler] src/app/modules/expenses/pages/expenses-...
Sampath's user avatar
  • 66.2k

15 30 50 per page
1
2 3 4 5
1423