You might already know that Angular 8 is out now, but what it means for you or your organisation is described below.
To put your mind at rest, Ivy is not here yet. If you don’t know what is Ivy, it’s the Angular’s new renderer which promises a ton of improvements in term of how Angular renders the view. It is radically different from anything we have seen in mainstream frameworks, because it uses incremental DOM
. Stay tuned for more news on this in coming weeks.
Differential loading is a feature in which browser decides to use modern vs legacy JavaScript based on its own capabilities.
This is really important not just because we can use modern JavaScript but because we can get rid of all of those polyfills we’ve had to ship with our applications previously.
In short it takes advantage of the es2015
flag in the TypeScript config and creates two bundles one for modern browsers and one for older ones.
{
"compilerOptions": {
…
"module": "esnext",
"moduleResolution": "node",
…
"target": "es2015",
…
},
At runtime, Angular generates two script tags in your HTML: