Angular 14 standalone components tutorial | #angular14

Angular 14 standalone components tutorial | #angular14

JS Frameworks

2 года назад

1,139 Просмотров

We take a look at the new developer preview features angular 14 standalone components. We convert an existing angular application from using ngmodules to fully standalone components and directives. We also look at bootstrapApplication, importProvidersFrom, loadComponent, ENVIRONMENT_INITIALIZER and createEnvironmentInjector

Github url - https://github.com/anuroopjoy/standalone-app

Apple iPhone 13 (128GB) - Blue - https://amzn.to/3Oz5XQB
OnePlus Nord CE 2 5G - https://amzn.to/3PTOWSB
Redmi Note 11 - https://amzn.to/3z27WYf
Redmi Note 10T 5G - https://amzn.to/3PSlCMi

00:00 - Introduction
01:31 - Standalone component
02:18 - Standalone dependency import
03:36 - bootstrapApplication
04:47 - importProvidersFrom
09:20 - Lazy load multiple routes
12:18 - Lazy loadcomponent route
14:25 - Standalone directive
15:49 - Lazy load route providers
18:48 - Environment Injectors
19:40 - Environment Initializer

Тэги:

#angular_14 #angular_standalone_component #bootstrapapplication #importfromproviders #environment_injectors #angular_14_features
Ссылки и html тэги не поддерживаются


Комментарии: