Dynamic Layout parts in Angular
Posted on December, 2019
The "Problem" While working on a simple application I wanted to show some content in the title / header bar, but this should be only visible on a specific route. header.component.html: 1st solution…
Read full postLazy Loaded Components - #4 NPM-Package
Posted on December, 2019
Proudly presenting Finally, the demo-repository and loader package is done. Here are some of the changes: -Helper Like the C# Lazy-Class, I created a simple helper, which holds the lazy-Value once…
Read full postLazy Loaded Components - #3 Extending the Loader
Posted on October, 2019
Adding a loading Placeholder With the current Loader, you can set a placeholder (e.g. a button to trigger the loading) and once it's loaded + created the content of the loader will be switched to the…
Read full postPerformance: Tree-Shake with environment.ts
Posted on September, 2019
You probably get to the point where you only need modules that has to be there during development but not in the production build. For example: I use nearly all the time while developing. In order…
Read full postLazy Loaded Components #2
Posted on September, 2019
Extending the features of the component-level lazy loader thanks to Ivy Continue from Part 1: 1. Inject services into lazy-loaded components: Since the loader uses the same injector-Instance we can…
Read full postLazy Loaded Components in Angular
Posted on August, 2019
Back in the old AngularJS Days I had a little playground app where I could lazy load nearly everything. Ever since Angular 2 came out, I searched every few months about lazy loading components. Some…
Read full post