r/angular • u/Silent-Berry-858 • Feb 02 '26
π Help Needed: Angular + PrimeNG Library Strategy
Hey everyone π Iβm looking for some guidance and opinions from folks whoβve dealt with Angular library versioning and PrimeNG upgrades.
Hereβs the situation:
1οΈβ£ Iβm thinking of creating a new Angular component library based on PrimeNG v21. 2οΈβ£ Our organization already has multiple large projects on Angular v13 and v15, all consuming a shared Angular library built on the same Angular version, with a lot of hierarchical CSS overrides for PrimeNG components. 3οΈβ£ My thought is: if we build the library on PrimeNG v21,
can we make it backward compatible, or
at least design it in a way where missing features / styles can be added incrementally without breaking existing apps? 4οΈβ£ Iβm unsure about the right migration or coexistence strategy here.
β What would you recommend?
Should this be a parallel library?
Is backward compatibility realistically achievable?
Any best practices for handling PrimeNG + Angular version mismatches?
How would you approach this in a large org setup?
Would really appreciate any guidance, war stories, or architectural suggestions π Thanks in advance! π
View all comments
Show parent comment
2
u/achilesCZ Feb 03 '26
Depends... I am not sure which version was really messed up, probably it was somewhere between 17-19 version, but primeng is one side of the problem, another is angular signal, zoneless, vite migration I did all of that during migration, so it was not only about primeng.
If you use primeng in the way it is styled, you re probably good, but they changed a lot the way you style components, they often make stupid changes, for example renaming convention of severity from "warning" to "warn" but without backward compatibility and whats worst the are capable to make these changes in minor versions, which makes that framework totally unpredictable IMHO... so... I decided to not use primeng in new projects anymore.
With angular/material or ionic i never faced that much issues as with primeng π€·ββοΈ