Загрузка...

Angular 17: New Blocks of Deferred Loading #angular #angular17

Angular 17 new deferred loading blocks (defer, placeholder, and loading) allow you to load components, views, and assets on demand, rather than loading everything at once when your application starts up.

This short video visually explains what these new blocks are for and how to use them, using an example of a page in a browser with a photo and its comments.

One use case mentioned in RFC "Deferred Loading" (the link is below) is deferred loading of video comments. My explanation is based on a similar case - deferred loading of image comments.

Sources:
▪️RFC "Deferred Loading": https://github.com/angular/angular/discussions/50716
▪️Implement new block syntax: https://github.com/angular/angular/pull/51891

I hope this is helpful!

Видео Angular 17: New Blocks of Deferred Loading #angular #angular17 канала Igor Sedov
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять