CSS in JS helps to write CSS as JavaScript. It will compile to CSS either is runtime or build time depends on your configurations.
There are several libraries to write CSS in JS. The most popular ones are,
The main advantage of CSS in JS is,
You can check out our blog post on React styled components using Emotion library here to learn more.
In the next lesson, we will use a styled component library Emotion
to build our FAQ styles.