I've been pondering something for quite some time but haven't been able to find an answer. Let's consider the following scenario:
You're working on building a dynamic website with React and you need to choose a front-end framework. In this case, let's say you've decided to go with Material-UI. As your project progresses, you find yourself in need of additional features such as a responsive grid system and show/hide styles. Instead of creating them from scratch or borrowing from another framework like bootstrap or foundation, you start considering including another framework alongside Material-UI.
Here comes the question: I understand that most CSS frameworks come with their own normalization CSS and basic styles for typography and other elements. Is it safe to incorporate a more feature-rich CSS framework alongside Material-UI without risking compatibility issues, or would it be better to avoid this?
Moreover, what is the best practice when it comes to expanding CSS features without duplicating code from other frameworks or constantly reinventing the wheel? Have you ever had to combine multiple front-end frameworks in a project, and if so, how did you address this challenge?
Thank you for your insights.
Best regards, Gregor