Closed meganesu closed 4 years ago
Goal: To modularize styles so that each component can have its own self-contained stylesheet.
Two strategies for doing this are CSS-in-JS and CSS modules. See Modular CSS with React article on Medium for a detailed breakdown of differences between the two.
In order to maintain ability to easily use CSS pseudo-classes, I'm going to move forward with using CSS modules.
Closed by ed8dc3de511c083a68161b40007e88421601b368
Right now, the styles for this app are all stored in the
dist/index.css
file. Ideally, these styles should be broken up and live with the components they're related to.