Why We Use Styled Components at Decisiv

and why you might consider it as well

Overview

Thread on why CSS-in-JS makes sense

Disclaimer

I Don’t Hate CSS

Styled Components Isn’t the Right Choice for Every Team

A Little History | The Early Days of React

Evolving Ideas and Implementations

Style Management Patterns

Enter CSS-in-JS

What’s Next

Why We Chose Styled Components

We ❤️ Styled Components

Large & Thriving Community

Template Literal Syntax

Sass Support & Polished

const Link = styled.a`
cursor: pointer;
text-decoration: none;
&:hover {
color: blue;
text-decoration: underline;
}
`;

Native Mobile Support

We’re Not There Yet

Final Thoughts

design systems @workday

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store