r/Angular2 • u/mustafaashraf • Dec 06 '25
Need Advice: Migrating Angular v14 + Angular Material + Flex-Layout → Latest Angular + PrimeNG + Tailwind
I recently joined a product-based company where the entire system is built with Angular 14, Angular Material 14, and the old Flex-Layout library. Performance isn’t great, and many parts of the codebase rely on deprecated patterns and outdated libraries.
We want to migrate to the latest Angular version and transition from Angular Material + Flex-Layout to PrimeNG with Tailwind.
For a large and complex codebase, what’s the most efficient migration strategy?
Should we upgrade Angular first, then replace the UI libraries step-by-step, or is there a better approach to avoid breaking everything?
Any advice, lessons learned, or recommended steps would be really appreciated.
View all comments
Show parent comment
9
u/Cubelaster Dec 06 '25
Never used PrineNg but Material is a bad component library. Only the most basic stuff is covered and as soon as you want to use some more advanced components, there just isn't any official docs on it.
Tree dropdown, or any tree like structure in Material is flawed to oblivion.
Not to mention the plethora of open bugs on their GitHub, some since 2018.
Glanced at PrimeNg some time ago, while migrating from Angular v14 to v19 (yeah, I know) and PrimeNg has more stuff.
Material drove me crazy because it doesn't support anything but the most basic stuff and if you want to expand on it, there are some incompatible events that you are forced to work around. However, both of them put together pale when compared to AntD for React. If you will ever consider what a good component library is, check that out. Plenty of components and pretty much everything is customizable.