I am new to angular and found very good explanation to understand core practices. Thank you I have a query, "What happen if we call API from component?" does it work or not?
We can call api from a component also. But it will be restricted to that one component. If we use a service for that. We can import that service into any component we want. It is reusable.
But as far as my experience, if I didn’t handle the catch error scenario in service and only return the get with url. And then subscribe that service method in my component and add an error clause directly, it will definitely work,
Should I use Angular for smaller project Actually I am working as an intern in a small company they use angular for there project and their Codebase is totally a Mess. So should i Use Angular For my personal small project
There is no error handling here?? If Look closely on the console we getting the response as error log from zone, any idea how do we handel that so we won't get the zone error, and only the response which we send on angular
Short, nice explanation.
Had no clue how to do it on Angular higher than 2, because it changed.
Thanks, so helpful! Saved me from a lot of trouble
Hi Join the official discord server to resolve doubts here: discord.gg/cRnjhk6nzW
Hi Join the official discord server to resolve doubts here: discord.gg/cRnjhk6nzW
Super explanation sir. Plz upload more angular tutorials.
Short, Nice & Clean explanation. Thank You.
very well lucid explanation ,found this very helpful for A9 version,thanks a lot
What is theme u are using
I am new to angular and found very good explanation to understand core practices. Thank you
I have a query, "What happen if we call API from component?" does it work or not?
We can call api from a component also. But it will be restricted to that one component. If we use a service for that. We can import that service into any component we want. It is reusable.
thanks! it helpt a lot!!
Good one 🙌
But as far as my experience, if I didn’t handle the catch error scenario in service and only return the get with url. And then subscribe that service method in my component and add an error clause directly, it will definitely work,
Is there a way not to show that error in the console?
awesome
Should I use Angular for smaller project
Actually I am working as an intern in a small company they use angular for there project and their Codebase is totally a Mess.
So should i Use Angular For my personal small project
as everything else with angular, subscribing to handle the error only works some times
There is no error handling here??
If Look closely on the console we getting the response as error log from zone, any idea how do we handel that so we won't get the zone error, and only the response which we send on angular
If say my return value is observable of users.. Then the pipe is giving me error that.. It should return that observable.
code pls
Not working showing error
Thanks for asking please join facebook group of coding shiksha to ask questions: facebook.com/groups/544305447024848