9. Organizing Styles #

Created Sun Nov 19, 2023 at 6:29 PM

Mostly the same as 6-Encapsulating-Styles-And-Wrappers

Where to keep local styles #

There are two approaches

Many devs prefer the second, because it separates functionality from presentation. But many devs also prefer the first approach, since it’s concise.

Choose whatever you like. The only thing that matters is being consistent - use one way and do so across the codebase.