📚 Read the book 👉 https://go.asim.dev/angular-book
🔥 Level up your JavaScript 👉 https://go.asim.dev/advjs
🌿 If you find my videos useful please consider planting a tree for me 👉 https://go.asim.dev/trees
🎥 Watch the full playlist 👉 https://go.asim.dev/angular-playlist
The best place to view the code associated with this course is in the online book (https://go.asim.dev/angular-book) via the book if a lecture has code associated with it, it then also has a link to a stackblitz instance so you can run and edit the code sample online.
The recommended method to interact via a Http service is by creating an intermediate service which has the responsibly of communicating with the API and converting the raw data into one or more domain models.
In this lecture, we handled asynchronous code by using promises. By converting the observable returned from he http client lib into a promise and also by returning and resolving our own promise from SearchService.
In the next lecture, we’ll look at how we can implement the same solution by using observables.
Смотрите видео EP 11.3 - Angular / HTTP / HTTP with Promises онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь jawache 26 Декабрь 2018, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 39,66 раз и оно понравилось 8 людям.