5:49 🤣 Okay, this was very confusing. Because you calling Post wit get. First I tought Post is the Post Request. But later you say, its working only for GET. I would say your Interface has not the best name for this example. But great that you share your knowledge with us.
Can you please tell me if the resource api needs the loader as a function that returns a Promise, does that mean we cannot use the HttpClient in there, like i know we can convert the observable into a promise but i am saying cant we just write the Http method calls in there, is Angular trying to get rid of the HttpClient?
No you can't, just promise so you need to convert. But you are not forced to use resource API (yet) Another alternative is to use rxResource which works with streams and httpClient and has the same syntax.
Download the FREE PDF Now. Pass Your Angular Interview with Confidence! ➡ monsterlessons-academy.com/newsletter_subscribers/angular_interview?
Great video, and thanks for sharing!
Thanks for watching!
whoa your video effects have gotten so good.
Glad you like them!
I was waiting for this video
Great!
Optimistic updates are not that easy to handle, but this linkedSignal will make it somewhat easier ! Thanks for the video 💪😎
You are welcome!
5:49 🤣 Okay, this was very confusing. Because you calling Post wit get. First I tought Post is the Post Request. But later you say, its working only for GET. I would say your Interface has not the best name for this example. But great that you share your knowledge with us.
Thank you for the video
You're welcome
Thank you for video and attached pdf link 🔗
Welcome 👍
I think there is also a feature regarding SSR in the router :)
Yeap
Can you please tell me if the resource api needs the loader as a function that returns a Promise, does that mean we cannot use the HttpClient in there, like i know we can convert the observable into a promise but i am saying cant we just write the Http method calls in there, is Angular trying to get rid of the HttpClient?
No you can't, just promise so you need to convert. But you are not forced to use resource API (yet)
Another alternative is to use rxResource which works with streams and httpClient and has the same syntax.
what is theme in vscode do you use ?
It's Gruvbox