|
| 1 | +--- |
| 2 | +type: podcast |
| 3 | +authors: |
| 4 | + - alex-patterson |
| 5 | +episode: 23 |
| 6 | +recording_date: Nov 13, 2023 4:00 PM |
| 7 | +season: 3 |
| 8 | +published: published |
| 9 | +podcast: CodingCat.dev |
| 10 | +chapters_done: false |
| 11 | +cloudinary_convert: false |
| 12 | +cover: https://media.codingcat.dev/image/upload/v1699492773/main-codingcatdev-photo/3.24-angular-dev.png |
| 13 | +devto: |
| 14 | +excerpt: Angular.dev is the future home for Angular developers. |
| 15 | +guests: |
| 16 | + - emma-twersky |
| 17 | +hashnode: |
| 18 | +picks: |
| 19 | + [ |
| 20 | + { author: 'emma-twersky', name: 'Community College', site: 'https://www.ccsf.edu/' }, |
| 21 | + { |
| 22 | + author: 'alex-patterson', |
| 23 | + name: 'DJI Osmo Mobile 6 Gimbal', |
| 24 | + site: 'https://www.amazon.com/dp/B0B7XD7R43?ref=ppx_yo2ov_dt_b_product_details&th=1' |
| 25 | + } |
| 26 | + ] |
| 27 | +slug: 3-23-angular-17 |
| 28 | +sponsors: |
| 29 | + - storyblok |
| 30 | +spotify: |
| 31 | +start: Jan 1, 2024 |
| 32 | +title: Angular.dev |
| 33 | +youtube: https://youtu.be/QHZRLrRRnhw |
| 34 | +--- |
| 35 | + |
| 36 | +Angular v17 is here, and it's the purrfect update for all you cat-loving developers. This new version of the popular JavaScript framework is packed with features that will make your development purr like a kitten. With us today is [Emma Twersky](/guest/emma-twersky) a Senior Developer Relations Engineer, to talk all about the new updates. |
| 37 | + |
| 38 | +## Deferrable Views |
| 39 | + |
| 40 | +One of the biggest new features in Angular v17 is deferrable views. This means that you can now tell Angular to wait to render a view until it's actually needed. This can be a huge performance improvement, especially for views that are rarely seen. |
| 41 | + |
| 42 | + |
| 43 | + |
| 44 | +For example, if you have a view that only shows up when the user clicks a button, you can defer it until the button is clicked. This will save Angular from having to render the view unnecessarily, which can improve the performance of your application. |
| 45 | + |
| 46 | +**Built-in Control Flow Loops** |
| 47 | + |
| 48 | +Another great new feature in Angular v17 is built-in control flow loops. This means that you can now use `for` and `while` loops in your Angular templates. This can make your templates more concise and easier to read. |
| 49 | + |
| 50 | +For example, the following code snippet shows how to use a `for` loop to iterate over an array of cats: |
| 51 | + |
| 52 | +```ts |
| 53 | +<ng-container *ngFor="let cat of cats"> |
| 54 | + <div>{{cat.name}}</div> |
| 55 | +</ng-container> |
| 56 | +``` |
| 57 | + |
| 58 | +This code will loop over the `cats` array and print out the name of each cat. |
| 59 | + |
| 60 | +## Up to 90% Faster Runtime |
| 61 | + |
| 62 | +Angular v17 is also up to 90% faster than previous versions. This means that your applications will run faster than ever before. |
| 63 | + |
| 64 | +The performance improvements in Angular v17 are due to a number of factors, including the new deferrable views feature and the built-in control flow loops. |
| 65 | + |
| 66 | +## Up to 87% Faster Builds |
| 67 | + |
| 68 | +In addition to being faster at runtime, Angular v17 is also up to 87% faster to build. This means that you can get your applications up and running faster than ever before. |
| 69 | + |
| 70 | + |
| 71 | + |
| 72 | +The build performance improvements in Angular v17 are due to a number of factors, including the new Ivy compiler and the improved TypeScript support. |
| 73 | + |
| 74 | +## New MDC-based Angular Material Components |
| 75 | + |
| 76 | +Angular v17 also includes new [MDC-based Angular Material components](https://github.com/material-components/material-components-web). These components are based on the Material Design Components (MDC) library, which is a collection of high-quality components that are designed to be beautiful, accessible, and performant. |
| 77 | + |
| 78 | +The new MDC-based Angular Material components are a major improvement over the legacy components. They are more consistent with the Material Design specification, and they are also more performant. You can find the migration guide [here](https://material.angular.io/guide/mdc-migration). |
| 79 | + |
| 80 | +## Deprecated Legacy Components |
| 81 | + |
| 82 | +The legacy Angular Material components have been deprecated in Angular v17. This means that they will be removed in a future version of Angular. |
| 83 | + |
| 84 | +If you are still using the legacy Angular Material components, you should update your applications to use the new MDC-based components as soon as possible. |
| 85 | + |
| 86 | +## Conclusion |
| 87 | + |
| 88 | +Angular v17 is a major release that brings a number of significant improvements to the framework. If you are a developer who uses Angular, you should definitely upgrade to v17 as soon as possible. |
| 89 | + |
| 90 | +**P.S.** Don't forget to check out the new Angular website at [angular.dev](https://angular.dev)! |
0 commit comments