Ben Lorantfy
1 min readApr 7, 2020

--

For almost every prop I pass to a styled-component, I don’t want it passed to the DOM (except maybe aria-* props and id). So that means almost every prop I pass to a styled-component will be prefixed with a dollar sign. I feel like this just adds visual clutter and a new syntax I need to teach to co-ops. I understand this is a tough problem though and I’m not sure the best solution.

--

--

Ben Lorantfy
Ben Lorantfy

Written by Ben Lorantfy

A software and web developer who likes solving problems with code, math, and design 🇨🇦

Responses (1)