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

Mark Thompson

Angular Core Team, Google | USA

Alex Rickabaugh

Angular Core Team, Google | USA

Pawel Kozlowski

Angular Core Team, Google | France

Łukasz Jancewicz

Staff Software Engineer, Google | Poland

Matthieu Riegler

Senior Frontend Software Engineer, Eaton | France

Manfred Steyer

Consultant and Author, softwarearchitekt.at | Austria

Brygida Fiejdasz

Lead of Frontend Competence Center, Avenga | Poland

Nir Kaufman

Front End Tech Lead, Tikal | Israel

Karol Szymczyk

Scientist, CERN | Switzerland

Dhananjay Kumar

Teacher and Consultant, ngIndia | India

Soumaya Erradi

Senior Software Developer, Atlantis S.R.L. | Italy

Michael Hladky

CEO, push-based.io | Austria

Krystian Derdziński

Senior Fullstack Developer, KMD | Poland

Alisa Duncan

Senior Developer Advocate, Okta | USA

Alex Okrushko

Senior Software Engineer, Snowflake | Canada

Rainer Hahnekamp

Trainer and Consultant, AngularArchitects.io | Austria

Gerard Sans

Developer Evangelist for Web and Cloud and Generative AI, UK

Roberto Heckers

Angular Fanatic, Heckers Software | Netherlands

Michael Egger-Zikes

Trainer & Consultant, AngularArchitects.io | Austria

Marko Stanimirović

Core Team NgRx & AnalogJS, SMG | Serbia

Tomasz Ducin

Independent Consultant, Architect, Developer & Trainer, Poland

Tobiasz Ciesielski

Frontend Developer, Prowly PR Software | Poland

Younes Jaaidi

Software Development Cook, Teacher & Coach, GDE | France

Enea Jahollari

GDE, Trainer, Senior Software Engineer, Push-Based.io | Albania

Gerome Grignon

Président, Angular Nexus | France

Julian Jandl

Lead Performance Engineer, Trainer & Consultant, push-based.io | Austria

Christopher Holder

Full Stack Engineer, push-based.io | Austria

Dariusz Kalbarczyk

Google Developer Expert, Author, NG-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

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.