Home >>Angular8 Tutorial
Angular community launched their latest version, known as Angular 8. If you're comfortable with Angular's previous version, it won't be hard for you. You can upgrade your Angular CLI to version 8 with simplicity.
Angular 8 is a TypeScript-based client-side framework that is used to build interactive Web applications. Except for having some extensive features it is very similar to its previous versions.
The Angular community has released their latest version of Angular 8 with an impressive list of changes and improvements including the much awaited Ivy compiler as an opt-in feature.
Those are Angular 8's most prominent features:
Angular 8 supports TypeScript 3.4, and your Angular 8 project is required to run. So upgrade your version of TypeScript to 3.4.
JavaScript is a single thread so asynchronous occurrence is common for more critical tasks such as data calls. Web Workers facilitates the execution of intensive CPU computations in the background thread, freeing up the main thread to update the user interface.
If the application becomes unresponsive when processing data, web workers may also be helpful.
If you decide to outsource such a calculation to a background, we will first use the Angular CLI to build the Web worker.
ng generate worker n-queens
The new rendering engine is Ivy, and the new build system is Bazel. With Angular 8 both are ready for proper use. The preview of these two is due to be available soon. Ivy is the new Angular compiler / runtime and Angular 8 is the first release to officially offer an opt-in switch to Ivy.
In Angular version 9 Ivy is supposed to be a default rendering engine.
Bazel offers one of Angular 8's newest features as a possibility to build your CLI application faster.
Bazel has the key benefits of:
Angular 8 encourages the usage of standard dynamic import syntax instead of a custom lazy-loaded module list.
It means lazy-loaded imports that sounded like:
{ path: '/stu', loadChildren: './stu/stu.module#StuModule' }
Will be looked like this:
{ path: `/stu`, loadChildren: () => import(`./stu/stu.module`).then(s => s.StuModule) }
The Angular CLI is in constant improvement. The ng build, ng test and ng run now come with 3rd party libraries and tool. AngularFire, for instance, already uses these new capabilities with a deploy command.
One for the front end (in Angular) and another for the backend (in Node.js Express MongoDB). We'll even build a backend API that's used by frontend.
Here, we use the following technologies: