The Enhance Framework looks compelling. Personally, web components and more particularly the shadow DOM are not very appealing but… the template structure looks clean for drawing up components/layouts super fast while still being primitive enough to not lose transposability between different environments.
It seems like there’s an uptick in discussions online around web components but maybe that’s just the typical developer marketing/advocating. Web components have been around for a bit.
Hugo is a gateway for discovering neat golang libraries. Version 0.104.0 introduced a color extraction method that has lots of use–cases. An easy one is to generate basic image gradient placeholders. The browser has its own deferred/lazy loading logic so fancy image gradients (on a static site) require only a few lines of pre–generated styles.
The temptation to bring in a bundler is oh so very
obviously not designed to bundle
js directly for the browser but you can get
away with it up to a certain point.
If you think about it, the
tag is not that well thought out. Or rather, inconsistent interpretations of the
title attribute on different displays limits
Sure, conditional media types allow auto expanding the title on touch or print displays.
But many semantic elements have similar quirks that are only noticeable with a good cross browser/display testing suite, which no one has .
Surprising quirky behaviour
+ real world “get it done now” business constraints
= everything’s a
<div> and/or a