Hi, which extension you are using for auto completion code??? @ time stamp 6:40
@JSFrameworks2 жыл бұрын
Github copilot
@balajibalamurugan80532 жыл бұрын
Hi, Great video by the way!. I have some regarding async pipe, In this video you have used, a single observable of string that errors out and you have displayed in the template using async in the template how do we handle it when we use objects that error out or when we use ngFor using async pipe. hope you get my question.
@JSFrameworks2 жыл бұрын
while using objects or arrays, we need to emit the default value usually empty [] or {} from the catchError block eg: in case of ngFor with async pipe, catchError((err) => { return of([]); }),
@balajibalamurugan80532 жыл бұрын
@@JSFrameworks Ok, what if I have to an error message like ' No data available '. If have to do that i have to check if an array or object is empty, is that correct?
@JSFrameworks2 жыл бұрын
In the catch error block you might need to set an indicator, that an error occurred
@balajibalamurugan80532 жыл бұрын
@@JSFrameworks can you update the repo with these implementation