Become a member
to unlock all features

Level Up!

Access all courses & lessons on egghead today and lock-in your price for life.


    Import and Render Style Partials from JavaScript Modules with CSS-in-JS


    In this lesson, you will learn how to leverage JavaScript Modules to import CSS partials.

    In JavaScript, partials need to be explicitly imported when exported by name, if a module exports styles by default, the styles and variables within do not need to be explicitly imported, just the module.

    In this lesson, you will learn how CSS in JS partials are different to SCSS, how to use default export, and how to control the order of partials rendering.