Gatsby CSS loading
I have a little trouble understanding how CSS is loading with Gatsby framework. From what I read, all CSS is being processed by webpack and put in the head tag, meaning all styles for all pages will be included right after the page is loaded for the first time. Is there any way I can load CSS only for pages and components the user wants to see?
Source: React – Stack OverflowNovember 22, 2021