Rainer Hahnekamp

Angular Conference 2024 (Warsaw & Online)
Learn from the Best
Meet Rainer Hahnekamp

Rainer Hahnekamp

The End of Barrel Files: New Modularization Techniques with Sheriff

Barrel files (index.ts) are commonly used to define modules and encapsulation but often conflict with tree shaking and code splitting. These optimization techniques are crucial for modern web applications, enabling features like lazy-loaded modules and partial hydration. Unfortunately, barrel files can lead to unnecessarily large bundle sizes, which directly degrade web core vitals.


In my talk, I will first demonstrate this conflict with a specific example showing how barrel files increase bundle sizes. Subsequently, I will showcase Sheriff, a tool that offers an effective solution for modularization without the use of barrel files.

Rainer Hahnekamp - Trainer and Consultant, AngularArchitects.io | Austria

Rainer Hahnekamp is a Google Developer Expert and a trusted collaborator on the NgRx team. He works as a trainer and consultant within the Angular Architects expert network, specializing in Angular and Spring. Rainer regularly provides in-depth training sessions and offers a weekly overview of key events in the Angular ecosystem on YouTube through ng-news.

Workshops

Angular Code Quality by Rainer Hahnekamp - Master Class (stationary & online)

What You Will Learn:

In this workshop, you’ll learn how to significantly enhance the quality and maintainability of your Angular projects through a focused, one-day intensive session.

By the end of the day, you will be able to:
✔️ Create Custom ESLint Rules: Craft your own ESLint rules and harness existing ones to tailor code quality checks to your team’s specific needs.
✔️ Develop Angular Schematics: Build your own schematics from scratch to automate and standardize the creation of code structures within your projects.
✔️ Apply Code Metrics: Utilize key metrics like the Maintainability Index, Cyclomatic Complexity, and Code Churn to analyze and improve your project’s performance.

We’ll kick off with ESLint, where you’ll learn to craft your own rules step-by-step. By the end, you’ll be equipped to create customizable rules that not only fix code automatically but also efficiently validate Angular templates.

The journey continues with Angular Schematics. You’ll start from the basics, learning how to develop them to automate the generation of repetitive code segments and ensure consistent use of libraries across your projects. You’ll also learn how to integrate these tools into the powerful ng update process.

We'll also take a look at the Nx Generators—a powerful enhancement to Schematics that adds features and tools for more sophisticated development workflows.

We’ll conclude the workshop by exploring code metrics, focusing on key indicators such as the Maintainability Index, Cyclomatic Complexity, and Code Churn. You will understand how these metrics operate, what benefits they offer, and how they can be used to gauge and improve the health of your codebase.
Additionally, we’ll cover popular tooling such as SonarQube and discuss how to seamlessly integrate it into your CI (GitHub Actions) process for continuous quality checks.

Detailed Agenda

ESLint
▪︎ Flat vs legacy config
▪︎ Creating rules
▪︎ Processing TypeScript with typescript-eslint
▪︎ TypeScript AST
▪︎ Customizable rules
▪︎ Creating plugins
▪︎ Testing rules

Schematics
▪︎ Setting up Schematics
▪︎ Using template for code generation
▪︎ Parameterizing Schematics
▪︎ Accessing the file system
▪︎ Managing dependencies with Schematics
▪︎ Testing schematics
▪︎ Bundling and publishing
▪︎ ng add & ng update
▪︎ Reading templates
▪︎ Nx Generators

Metrics
▪︎ Understanding common metrics
▪︎ Using SonarQube
▪︎ Combining Quality Gates & GitHub Actions

Rainer Hahnekamp in action

Learn from the Best Speakers

Minko Gechev

Angular Core Team, Google | USA

Alex Rickabaugh

Angular Core Team, Google | USA

Jeremy Elbourn

Angular Core Team, Google | USA

Jens Kuehlers

Angular Core Team, Google | Germany

Pawel Kozlowski

Angular Core Team, Google | France

Catalina Patiño

Software Engineer, Google | Colombia

Piotr Tomiak

Senior Software Developer, JetBrains | Poland

Joanna Ostrowska

Software Engineer, Google | Poland

Matthieu Riegler

Angular Core Team, Google | France

Brygida Fiejdasz

GDE for Angular, Lead of Frontend Competence Center, Avenga | Poland

Łukasz Jancewicz

Staff Software Engineer, Google | Poland

Kasia Biernat-Kluba

Principal Software Engineer, Hyland | Poland

Manfred Steyer

GDE for Angular, softwarearchitekt.at | Austria

Alex Okrushko

Senior Software Engineer, Snowflake | Canada

Nir Kaufman

Tech Lead, Full-stack AI Engineer, GDE, Tikal | Israel

Michael Egger-Zikes

Trainer & Consultant, AngularArchitects.io | Austria

Younes Jaaidi

Software Development Cook, Teacher & Coach, GDE | France

Vojtech Mašek

CTO, FlowUp | Czech Republic

Alexander Thalhammer

Passionate Angular Developer, Angular Architects | Austria

Tomas Trajan

Architect, Consultant and Trainer, GDE , AngularExperts.io | Switzerland

Rainer Hahnekamp

Trainer and Consultant, AngularArchitects.io | Austria

Rafal Brzoska

Solution Architect, Future Processing | Poland

Tomasz Ducin

Independent Consultant, Architect, Developer & Trainer, Poland

Dr. Philippe De Ryck

Security Expert, Founder, GDE, Pragmatic Web Security | Belgium

Daniel Sogl

Software-Architekt, Thinktecture AG | Germany

Dariusz Kalbarczyk

Google Developer Expert, Author, Podcaster, NG/JS/AI POLAND | Poland


Stay tuned for more exciting speaker announcements coming soon! Want to join our lineup? Click the button below to apply!


Call For Papers 2025

Companies that support our community
Our Sponsors 2025

By becoming a sponsor of NG Poland you will get an excellent opportunity to showcase your company and products to 1500 of the most active European developers. Such exposure will definitely help you to generate interest in your company, as well as allow you to find new business partners and potential employees. To learn more about our sponsorship offer, please fill in the form.

Join our mailing list

Sign up to receive updates about NG Poland, including workshops, speaker previews, ticket launches, NG Awards, Behind the Code Magazine, CFP details and other exclusive content. We won’t spam you and will only send you emails we genuinely think you’ll find interesting. You can unsubscribe at any time and you can find more information here.