@yourtwitter @mgechev ● Define an NgModule ● Declare a lazy route ● Declare a default route in the NgModule ● Define a component for the default route ● (Optional) Introduce a routing module Creating a lazy route
twitter.com/mgechev Step 1: Open https://example.com/ Step 2: Determine JavaScript which is likely to be required Step 3: Download the chunks Step 4: Store chunks in browser cache Preloading
@yourtwitter @mgechev ● All the deployment builders ● @ud-angular-builders/jest - Jest builder ● Nx tooling ● ngx-build-plus - custom webpack config ● @richapps/ngtron - electron support in the CLI ● @richapps/ngnode - build node.js apps with the CLI ● Over 60 more Other community builders
@yourtwitter @mgechev ● You don’t need Bazel to use Angular ● It’s worth it to understand Bazel as a software engineer ● Teaches good practices ● Reusable skills across technologies Should I learn Bazel?
@yourtwitter @mgechev ● Moving the web platform forward ● Automating DX ● Working on intelligent tooling ● Enabling best practices ● Building at scale Recap