Published July 23, 2015
Due to the ever-growing popularity of React, Facebook’s user interface library, there has been some discussion on the topic of CSS and whether or not it has a future in its current form — that is, in the form of declarations in a separate stylesheet that provide presentation information for a given page or section of markup.
I’m not going to rehash the conversation or the pros and cons here. For those not familiar, here are a few links you can check out:
Developers are passionate about CSS
Developers are not happy with some of the proposed solutions for large CSS projects
The two links in the second bullet point in the introduction above are a slide deck and video presentation by Christopher Chedeau, a developer working for Facebook on the React project. This past week was the first time I tried delving into React a little bit, thanks to this great tutorial by Shu Uesegi. After that simple introduction, the slides gave me a little more context.
The screenshot below captures one of Christopher’s pertinent slides in this regard, outlining the 7 problems that React attempts to address:
So it’s clear that it feels like a CSS revolution is needed and some might say it’s already under way. But it’s also clear that CSS in its current form is not going away anytime soon.