As we transition our old web application from Bootstrap 4.x to a React based framework, our approach involves gradually integrating React components into each page until the entire page is operated by a top-level React app.
We have chosen Mantine as our core component library for this process, but are facing difficulties in applying its styles.css
only to our React components. Even after including the line
import '@mantine/core/styles.css'
in our React components, the styles still affect the entire page, altering non-React sections. Is there a way to restrict the scope of Mantine's styles.css to just one React component?