Angular Routing / Resolve - Load Data before Navigation & ForkJoin - CodeWithSrini

Опубликовано: 15 Февраль 2021
на канале: CodeWithSrini
7,100
108

Imagine a situation where your component template depends upon an array from an API call. And you may have to show a section based on the length. Then Resolve allows us to load the data before navigation starts.

Chapters:
0:00 Why Resolve in Routing?
00:42 Creating Route Resolver
1:46 The Problem Statement
2:25 Creating Components
2:39 Creating API service
3:14 Setting path for Routes
4:10 Adding Resolve Property
5:48 Testing the routing execution flow
5:59 Capturing data from Resolve
7:00 The Fail Scenario
8:03 Call multiple services
11:36 Fin


На этой странице сайта вы можете посмотреть видео онлайн Angular Routing / Resolve - Load Data before Navigation & ForkJoin - CodeWithSrini длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь CodeWithSrini 15 Февраль 2021, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 7,100 раз и оно понравилось 108 зрителям. Приятного просмотра!