I went back and forth on the advantages of viewport-optimized styling as an important perf factor, but then I realized I can just run everything through Critical and get that for for free as a build step.

  • 0
  • 1
  1. I’m generally unconvinced of the need for tightly scoped component styling for static sights; in my experience they tend to be highly template-ized or have one-off pages, neither of which benefit greatly from tight scoping and are usually pretty easy to manage.

    • 0
    • 2
    1. As for JS, for a number of reasons, I prefer writing small, targeted JS that’s usually DOM based. If I needed something more complex/interactive, I wouldn’t be building a static site.

      • 0
      • 3