Slide 1

Slide 1 text

No content

Slide 2

Slide 2 text

Tools for Fast Angular Applications Improving the time to interactive of your app Minko Gechev @mgechev

Slide 3

Slide 3 text

Practices for speed automated with the Angular CLI & schematics Code-splitting Efficient serving Bundle Preloading

Slide 4

Slide 4 text

No content

Slide 5

Slide 5 text

No content

Slide 6

Slide 6 text

Practices for speed automated with the Angular CLI & schematics Code-splitting Efficient serving Bundle Preloading

Slide 7

Slide 7 text

Automatic code-splitting Angular CLI version 8.1 $ ng g module about --route about --module app

Slide 8

Slide 8 text

Automatic code-splitting Angular CLI version 8.1 $ ng g module about --route about --module app module name

Slide 9

Slide 9 text

Automatic code-splitting Angular CLI version 8.1 $ ng g module about --route about --module app lazy-route path

Slide 10

Slide 10 text

Automatic code-splitting Angular CLI version 8.1 $ ng g module about --route about --module app parent module name

Slide 11

Slide 11 text

No content

Slide 12

Slide 12 text

Generated a lazy-route • Defined an NgModule • Declared a lazy-route • Declared a default route • Defined a component

Slide 13

Slide 13 text

No content

Slide 14

Slide 14 text

No content

Slide 15

Slide 15 text

Practices for speed automated with the Angular CLI & schematics Code-splitting Efficient serving Bundle Preloading

Slide 16

Slide 16 text

No content

Slide 17

Slide 17 text

ngx-quicklink • Detects links in the viewport • Waits until the browser is idle • Checks user’s connection • Prefetches the lazy modules

Slide 18

Slide 18 text

No content

Slide 19

Slide 19 text

No content

Slide 20

Slide 20 text

No content

Slide 21

Slide 21 text

Practices for speed automated with the Angular CLI & schematics Code-splitting Efficient serving Bundle Preloading

Slide 22

Slide 22 text

No content

Slide 23

Slide 23 text

No content

Slide 24

Slide 24 text

• ng add a platform module • Run ng deploy Deployment via Angular CLI Introduced in CLI v8.3

Slide 25

Slide 25 text

No content

Slide 26

Slide 26 text

Supported platforms for automatic deployments via the Angular CLI @angular/fire @azure/ng-deploy @zeit/ng-deploy angular-cli-ghpages @netlify-builder/deploy ngx-deploy-npm

Slide 27

Slide 27 text

Practices for speed automated with the Angular CLI & schematics Code-splitting Efficient serving Bundle Preloading

Slide 28

Slide 28 text

Practices for speed automated with the Angular CLI & schematics Code-splitting Efficient serving Bundle Preloading

Slide 29

Slide 29 text

Practices for speed automated with the Angular CLI & schematics Code-splitting Efficient serving Bundle Preloading

Slide 30

Slide 30 text

Practices for speed automated with the Angular CLI & schematics Code-splitting Efficient serving Bundle Preloading

Slide 31

Slide 31 text

No content

Slide 32

Slide 32 text

Thank you! Minko Gechev @mgechev