• 2 min
Improve React Components With Optional Chaining & Nullish Coalescing

Improve React Components With Optional Chaining & Nullish Coalescing

If you’re working on a big React (Next.js) application, sometimes you might need to dive deep into a data structure. Let's use Optional Chaining & Nullish Coalescing to improve React components.

  • 3 min
Polished.js: A Utility CSS-in-JS library for Styled-Components in React.js

Polished.js: A Utility CSS-in-JS library for Styled-Components in React.js

Sass functions like lighten(), darken(), complement(), invert() are pretty useful. I was wondering if there was something for styled-components. Well, I found the great library Polished.js.

  • 2 min
How To Add Props To Styled Components in React.js with TypeScript

How To Add Props To Styled Components in React.js with TypeScript

I’m pleased with Styled-components. Adding proper TypeScript typings was a big question for me, until now! So I want to share them with you. 😉

  • 1 min
How to use CSS Media Queries with Styled Components in React.js

How to use CSS Media Queries with Styled Components in React.js

Use Media Queries Smarter In Styled Components

  • 1 min
CSS variable with Styled Components

CSS variable with Styled Components

Using CSS variables in Styled Components with React is supereasy. With this example you can start using them 💪