Tools for fast Angular applications (Chrome Dev Summit 2019)

preview_player
Показать описание
Angular grew significantly in the past few years from both a tooling and developer experience standpoint. This talk will explore many of the features and newer improvements in the pipeline that allow anyone to build and deploy performant apps with very little overhead.

Through real demos and examples, we’ll cover bundle budgeting, differential serving, automatic code-splitting, and more! In the second part of the talk, we’ll focus on how to efficiently prefetch and preload different modules and components.

Presented by: Minko Gechev

event: Chrome Dev Summit 2019; re_ty: Publish; product: Chrome - General; fullname: Minko Gechev;
Рекомендации по теме
Комментарии
Автор

And thank you for sharing!!! And am I the only one who just learned that you can generate lazy load module with Angular CLI??? This is so cool!!! Thank you!!!😆

benjaminli
Автор

Thank you for sharing this. Very useful.

DangNguyen-mjov
Автор

I would love to see a video about code-splitting into modules in a big Angular application.


For example, I have an app where users create offers and can react to some others. There are basically two main sections - a list of public offers (marketplace) and a list of my offers (offers of a currently signed user). How should the structure of the app look like? Should it be two separated modules with a shared list component?

And my second question is about modules without sharing the same route. For example authentification - login, signup and reset password form. I have them in the same auth module with URLs /login, /signup and /reset-password. If I would like to use a lazy load cause not every visitor of the homepage is going to visit them, how should I do it without putting them under the same parent route like /auth/login?

Thank you.

fryc.dominik
Автор

How about to conditional focus on FormControl elements? Like on form submit or keyboard shortcut, change focus to specific FormControl.

MuhammadTariq-mgkh
Автор

Good stuff, although the real value will appear as the app starts getting much bigger than that 360k of the main bundle 😢

tsortanidischristos