Loomio
Sun 10 Dec 2017 4:49PM

[Frontend] CSS methodology / convention

MP Matthew Parsons Public Seen by 16

Hey all react component and other frontend devs. I would like to take a vote on which class naming methodology to use.
Have started a poll on what I believe are the three best options:

MP

Poll Created Sun 10 Dec 2017 4:51PM

Which CSS naming methodology/convention? Closed Sun 10 Dec 2017 6:09PM

Results

Results Option % of points Voters
Styled Components 83.3% 5 EF GL FB ED KL
BEM 16.7% 1 MP
SMACSS 0.0% 0  
SUIT CSS 0.0% 0  
CSS Modules 0.0% 0  
Undecided 0% 20 DDB H CU CL JLH R VM AC RL CS KL PS DM FT AD JW C L KÅ BD

6 of 26 people have participated (23%)

FB

Fredrik Bränström Sun 10 Dec 2017 5:56PM

Styled Components

Thanks for making this poll, absolutely right that it should be decided democratically, although I think we half-consciously decided on giving Styled Components a chance, for now at least... If there are problems with it, we can discuss a fallback?

ED

Emin Durak Sun 10 Dec 2017 4:52PM

ED

Emin Durak Sun 10 Dec 2017 4:56PM

I'd also not favor BEM or SMACCS etc for the fact the logic they were created doesn't go very well with reusability of components. They were founded before UIs were as modular as they are now...

Also I recommend that we use as much existing components as possible, like how I used Semantic-UI etc. This is a good library to find react components: https://react.parts/web

H

Hugi Ásgeirsson Sun 10 Dec 2017 5:55PM

I don't have the required competence to make this call, so I'll stay out of this decision.

MP

Matthew Parsons Sun 10 Dec 2017 6:08PM

Ok think I'll close this - looks pretty unanimous :laughing:

MP

Poll Created Sun 10 Dec 2017 6:10PM

We will use Styled Components for UI Closed Mon 11 Dec 2017 2:11AM

Results

Results Option % of points Voters
Agree 100.0% 4 MP H EF ED
Abstain 0.0% 0  
Disagree 0.0% 0  
Block 0.0% 0  
Undecided 0% 22 DDB CU CL JLH GL FB R VM AC RL CS KL KL PS DM FT AD JW C L

4 of 26 people have participated (15%)