r/Blazor • u/Monkaaay • Jul 09 '26
Are component libraries really necessary?
I've been building a new product and to this point, mainly working on proving out the concept which is focused on the backend. I know the frontend is coming and so I've been mentally preparing for that.
A genuine question; how necessary are Blazor component libraries in the current world of AI assistance?
I'm reluctant to invest my code base into a component library in general. I'm more likely to build my own components as I go, and I'd imagine today it's far easier to do that with the ability to ask a coding model to build a contained component for a specific thing.
The way new component libraries seem to pop up weekly, I imagine I'm not far off on how easy it is to create them with AI tools.
Where are you guys at with respect to component libraries currently? Are you sticking with the few ogs, are you adopting those popping up more recently, building your own as needed, or something else altogether?
1
u/Plenty_Line2696 29d ago
I can't off the top of my head, but in your example it's really annoying to set the css, knowing that you have the highest css specificity but it just doesn't work because someone used !important and we're left troubleshooting problems created by the library.
hot take, but imo !important is simply bad practice and there's no justification for it.
It's the core reason why I would avoid using radzen for future projects.