I’ve spent a bunch of time recently thinking about, and experimenting with, different static-site tools and I think I’ve decided that using a JS component based frameworks is overkill, especially when you don’t need or want to rehydrate on the client

  • 0
  • 4
  1. 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