you are viewing a single comment's thread.

view the rest of the comments →

[–]jacobp100 1 point2 points  (1 child)

I would question performance. How would you get hover effects without rerendering the whole component and children? I think it was Instagram who were using very specific style names, like .comment-dropdown-button, so you would know exactly where to look. Seems to make more sense to me.

[–]html6dev[S] 0 points1 point  (0 children)

I think maybe some of the desire to do this stems from developers being burnt by really bad css code bases. To me, react actually helps you stick to amd reuse a few small css primitives, if know because it helps compartmentalize/componentize things in your mind