The life of CSS and its future with React
Siddharth Kshetrapal
@sidkp
CSS has come a long way from the inline styles in 1996 to the inline styles in 2017, wait wut?
There’s a lot of controversy around styling in the React ecosystem. Components are a great mental model for UI and have been around for more than you think!
Let’s take a journey through the 20 year rich life of CSS and look at the concepts that shaped user interfaces through the years. Featuring gems like isolation of styles (2007) and lego driven development (2009).
How does the current landscape of styling options in React match up? Come, find out!
Outline
Outline:
- A tour of the history of styling - pre CSS in the 90s
- Language for styling launched in 1996
- As time progresses, we learned how to isolate our styles (~2005)
- OOCSS in 2009 - starting thinking in components
- BEM, ITCSS, SMACSS, etc. come and establish stateful components
- Styling your components the React documentation way.
- Early days of JS in CSS - Radium, Aphrodite, etc.
- The best approaches right now with styled-components and glamor (All the concepts learned converge here)
- What the future might hold.
Requirements
Basic understanding of React
Speaker bio
Why should you let me talk about this/Why am I excited about it?
- I am a regular speaker at ReactJS Meetup in Bangalore. Have talked about styling, testing, performance, designing and some more
- I make OSS projects for building performant apps easier: cost-of-modules, recreate, reaqt, css-constructor.
- I obsess over interfaces, web performance and developer experience.
Links
Slides
https://speakerdeck.com/siddharthkp/styling-react-components
{{ errorMsg }}