From what I understand, Styled Components is used in Frontity in order to codesplit critical CSS on a per component basis.
But the vast majority of content produced via a Wordpress backend will not be determined by the frontity app but by the content within the post itself.
Most Frontity themes have not yet hit this problem because they’re primarily focused on simple text hierarchies. But the Gutenberg editor introduces much much more possibilities. It is pretty conceivable that Gutenberg editor can eventually be used to essentially build entire pages. Lots and lots of custom gutenberg components and you have lots and lots of CSS styling that gets loaded on every single page and post regardless of if that particular component actually appears in that page or post.
The total number of lines I use to style the non post-content components in my WIP theme is maybe 20 or 40 lines at most. While the components which are possibly contained in a post’s content are several hundred easily.
This should be fixed. I don’t know how it, perhaps it will take a Wordpress plugin exposing a list of all components used in a post or something of that sort, and then having Frontity logic for conditionally loading styled components based on the expected post content or something like that?