CSS variables for React devs | Josh W. Comeau

You can do things with CSS variables that are not possible with JS.

Josh breaks down why and how you can use CSS variables more easily in React, specifically using styled-components. Honestly it feels a little terrifying how much is needed just to get basic browser functionality to work...

Explore Other Notes

Older

Invisible insulation

It’s almost impossible to make a list of all the things I didn’t have to worry about yesterday. We need to work overtime to make that true for more …

  • <!DOCTYPE html> <html> <head> <title></title> </head> <body> <p>Josh breaks down why and&nbsp;<em>how</em> you can use CSS variables more easily in React, specifically using styled-components. Honestly it feels a little terrifying how much is needed just to get basic …</p> </body> </html>
  • Murray Adcock.
Journal permalink