Modular CSS with React
Philippe Masset
44024

Hey Philippe, this is really good article and must say very well elaborated. Past few weeks I’ve been doing some research on same topic. As of now we’re using BEM style static CSS in our projects, however since we moved to React we’re keen to use modular CSS to eliminate the most major concern i.e. Global scoping of CSS.

But here the issue is I’m unable to figure our how do I use my these CSS modules files when it comes to static pages like the about us, contact us and so on. As for these pages we’ll have to go old fashioned static CSS linking but then the concern of Global scoping of these CSS classes stays as is. So if you can please enlighten and help me figure our right way for this. Thank you.

Show your support

Clapping shows how much you appreciated Sandip Baradiya’s story.