-
Notifications
You must be signed in to change notification settings - Fork 0
Switch to ITCSS & BEMIT #1
Comments
Hey. The most worrisome thing to me is the project page and twt account it links to... There isn't much activity nor much documentation to this approach (you basically provided links to all that is out there, unless I'm missing something). Another thing that struck me while watching screencast is the amount of boilerplate this introduces, while solving rarely appearing problem. I've came to this conclusion when I realized that the first point at which we introduce components (in its generic form) is penultimate level of triangle/abstraction. On a sidebar: I have to confess that ITCSS (& much of it's granularity) reminds me a bit of an outcry after introduction of JSX with React and passing event handlers as props - people were confusing separation of concerns w/ separation of technologies, which led to a plethora of new tools being born. Also I do have to admit I'm in love with component-centric approach (eg. putting component specific vars in component scss) so I'm probably biased here. Keep in mind that it's just my opinion (and I'm intentionally picky), so we should probably ask people working on larger projects (SPAs etc.) for their opinion... |
Thanks, Daniel. I think ITCSS is so simple concept that it doesn't require much documentation but I agree that it's a slight disadvantage that the methodology is not fully 'open source' and the main documentation remains in the net magazine. Regarding boilerplate, I think it depends on your custom implementation because ITCSS doesn't prescribe that you need to have all layers present (only in what order they should be if they are present). So in minimal setup you can have just components with default elements styling coming from browser but of course this is not very practical - some settings, reset and/or normalize are used almost by everyone. These are BEMIT advantages in my opinion in the context of our current coding style and XH generator
Regarding Atomic Design, I've played with that for a while, and unlike ITCSS I find its chemistry analogy quite artificial and hard to follow in practice. |
I suggest to switch CSS architecture in our projects to Harry Robert's ITCSS and BEMIT.
Also worth to check - https://github.com/inuitcss/getting-started - which is based on ITCSS too (but it doesn't contain any components).
The text was updated successfully, but these errors were encountered: