Skip to main content

Writing CSS-in-JS in a Gatsby Project

This is the eighth video in our beginner series exploring GatsbyJS and how to use it to easily build performant apps and websites:

  1. What is Gatsby?
  2. Starting a New Gatsby Project
  3. Gatsby’s Default Files and Folders
  4. Writing HTML in a Gatsby Project
  5. Adding Pages to a Gatsby Project
  6. Wrapping Pages in a Layout Component
  7. Writing CSS in a Gatsby Project
  8. Writing CSS-in-JS in a Gatsby Project (this post)
  9. Adding Content to a Gatsby Project
  10. Using GraphQL with Gatsby

In this video, we explore CSS-in-JS and how libraries like CSS Modules and Styled Components can make it easier to add and remove styles from your project.

For more, check out the entire playlist on YouTube.