In today’s post, we are going to explore another feature of the Aurelia framework or more precisely aurelia-fetch-client. So, in many cases, it would be nice to perform some specific actions when doing an AJAX request. For instance, before sending a request we want to log it into browser database like PouchDb. A more common example is calling a toastr on some error like 404, 500, 401. The problem with such a scenarios is that many developers duplicate their code in every single request/callback so they b...
Web 3252 dni, 11 godzin, 16 minut temu 33 pokaż kod licznika zwiń
 
                    ![[EN] Using Interceptors with aurelia-fetch-client - Forever F[r]ame](/Data/Thumbnails/blank_thumbnail.png)