How to use CSS Modules

It's time for us to jump right into incorporating CSS Modules into our project. Right now, we haven't set up anything to start using CSS Modules, so we'll need to make a few changes to make this work. Think back to our Todo CSS conflict, where introducing some conflicting CSS namespaces and poor choices around the use of the !important flag introduced a nightmare situation. 

Instead, let's start taking advantage of CSS Modules! We can actually mix the old way of doing things and the new way as well, but it'd be nice to take things a step further and use CSS Modules all the way. 

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.188.61.223