That HTML Blog logo

That HTML Blog

Subscribe
Archives
August 4, 2023

That HTML Blog Weekly Digest #3: Jamstack, Lit, & More

​

Friday, August 4, 2023

Hey folks, it's another Friday! How about that. 😅

The big news of the week I suppose was that I published an article over at The Spicy Web called My Journey Away from the JAMstack regarding my first experiences building static sites with Jekyll, why Netlify was ahead of its time when I first switched to it, and where everything went wrong from there.

Listen, I get it. Running a successful and hopefully profitable hosting company with investors breathing down your neck is hard. I don’t begrudge them for having to pivot to enterprise cloud mumbo-jumbo in order to reel in the big bucks and justify their valuation.
​
But I can’t help but feel duped…like so much of the other “enshittification” we’ve been dealing with in tech over the last few years. The cycle repeats itself: we invest our hard-earned time and sometimes money to build on top of friendly, seemingly benign platforms—only to see those platforms wriggle out from under us and morph into something entirely different (and for our purposes, much worse).

A lively conversation then ensued on Hacker News with even the CEO of Netlify weighing in on the matter. I must admit, that was quite the surprise! But at the end of the day, I'm just thankful there are other web hosting companies to choose from more aligned with a vision of the web I’m comfortable with.

​Read on the web…​

​

This Podcast is Lit AF! 🔥 ➦​

Justin Fagnani made a memorable appearance on the JS Party podcast to talk all about the world’s favorite (I would venture to say) web component base class: Lit.

Justin Fagnani joins us this week to talk about Lit, a library that helps you build web components. With 17% of pageviews in Chrome registering use of web components, Lit has gained widespread adoption across a variety of companies looking to create reusable components which leverage the power and interoperability of the web platform. Tune in to learn about what makes this tiny library so incredibly lit!

It’s a great episode to listen to regardless of if you’re new to Lit or you’ve already been using it for a while. It’s also an impressive achievement that, in terms of NPM downloads, the library is now nipping at the heels of some of the biggest frontend packages in web development such as Preact and Angular and is ahead of Svelte.

​Read on the web...​

​​

Node Applications and Server-Rendered Web Components ➦​

A key aspect of the web components ecosystem I believe will need to be thoroughly solved and proven in real production applications before WCs can be adopted in larger numbers is server rendering for “fullstack” development in popular environments such as Node.

Imagine a world where HTML pages and templates can easily be written using familiar web components concepts and then statically and/or dynamically rendered and sent to the browser. From there, you can once again target certain tag names for progressive enhancement as client-side web components. Call that hydration or islands or whatever you like.

Some libraries I’m aware of which allow for this:

  • ​Lit SSR​
  • ​FAST SSR​
  • ​Enhance SSR​
  • ​WebC​

In all cases, available documentation and real-world examples is scarce. This is by no means an indictment of these projects—I’m merely saying we have a long way yet to go.

I’d love to tinker with a sample starter project and compare using these and other similar WC SSR libraries. Got any recommendations?​

​Read on the web...​

​

​There's plenty of material to share which didn't make it into this week's digest, so keep an eye on the blog next week! Until then, I hope you all have a great weekend! -Jared

​

Don't miss what's next. Subscribe to That HTML Blog:
The Spicy Web That HTML Blog
This email brought to you by Buttondown, the easiest way to start and grow your newsletter.