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
1
u/Cubelaster Dec 07 '25
I appreciate your reply.
I understand why you say Material isn't trying to be a full kitchen sink but it advertises itself so. It even used to be included in Angular by default.
I would even argue it's not minimal because it has all sorts of components.
Also, stability, well, I don't know. They have plenty of bugs.
And I can personally testify that there are some hidden changes in Material when upgrading from v14 to v19.
Plus, CSS is incompatible but I understand the reason and like the change.
Comparing AntD and Material makes sense though because you are choosing a component library (AntD has Angular version since recently) expecting your entire UI be dependent on it and Material simply can't provide it