meta_pixel
Tapesearch Logo
Log in
Syntax - Tasty Web Development Treats

CSS in JS πŸ’…πŸ‘©β€πŸŽ€πŸ’πŸš’ (Drama Free!)

Syntax - Tasty Web Development Treats

Wes Bos

Tech News, News, Technology

4.9 β€’ 1.2K Ratings

πŸ—“οΈ 6 September 2017

⏱️ 66 minutes

🧾️ Download transcript

Summary

The most requested syntax episode ever! We break down CSS in JavaScript. Pros/Cons? What is it? What problems does it solve? What libraries should you use? Is it stupid or amazing? Sponsor FreshbooksΒ - Get 30 days free. Make sure to enter SYNTAX into the "How did you hear about us" section. Follow us on twitter! Wes Bos Scott Tolinski Syntax Show Notes BEM Styled Components Emotion Radium Glamorous Styled JSX Sick Picks Boxyapp Mail Client Airpods Shameless Plugs Grab Level Up Tuts before the price goes up! Modern Dev Tools

Transcript

Click on a timestamp to play from that location

0:00.0

Welcome to Syntax, where we deliver tasty treats for web developers. And welcome to Syntax.

0:17.0

In this episode, we're going to be talking about using CSS in JavaScript.

0:22.1

A little bit of maybe the libraries involved in that, some of the

0:25.4

what and whys, and we're going to take this one pretty lightly because I know this is

0:30.0

a fiery topic, so we're going to just talk about this from based on our experience

0:34.9

sort of what we like and dislike about the different processes and libraries and

0:39.2

stuff like that so to get things started we want to have a word from our sponsor.

0:45.0

Thanks so much to Fresh Books for sponsoring this episode of Syntax.

0:49.0

We'll talk a little bit more about them later on on the show,

0:51.0

but make sure you head on over to fresh books

0:52.8

dot com forward slash syntax and enter syntax into the how did you hear about a

0:57.0

section all right well we're gonna kick it off talking about CSS and J.S or styles. They don't seem to be called inline

1:04.6

styles anymore. I think because a lot of people got a bit but hurt over that

1:10.6

that they thought that it meant that you're actually writing your like

1:15.0

styles in a style attribute on your H. T. M. T. T. M. T. T. M. T. T. S. and J.S.

1:21.2

is essentially when you're writing an application in view or

1:26.0

angular or react or any of these things that is very component based.

1:31.0

It's starting to make sense to couple your CSS that styles that component with that component itself.

1:37.5

So that's the whole idea of CSS and J.S. where you couple those things together.

1:42.2

It's sort of throwing the whole

1:43.4

separations of concerns out the window and saying more like, well actually you

1:49.6

probably do want this template and the CSS to be tightly bound together.

...

Please login to see the full transcript.

Disclaimer: The podcast and artwork embedded on this page are from Wes Bos, and are the property of its owner and not affiliated with or endorsed by Tapesearch.

Generated transcripts are the property of Wes Bos and are distributed freely under the Fair Use doctrine. Transcripts generated by Tapesearch are not guaranteed to be accurate.

Copyright Β© Tapesearch 2026.