Join Nostr
2024-10-16 00:47:43 GMT
in reply to

Doug Parker 🕸️ on Nostr: As I mentioned in a different thread, I think this has more to do with authoring a ...

As I mentioned in a different thread, I think this has more to do with authoring a singular abstraction which fits the same mental model as a framework.

https://techhub.social/@develwithoutacause/113313876742228957

You can create a similar abstraction through combining a bunch of primitives (custom elements, shadow DOM, constructible stylesheets, `<template>` elements), but it feels like assembling disparate features rather than defining a singular abstraction.

It's a little weird because I *like* having these decoupled primitives and in many ways I think that design is necessary to their individual success. My HTML fragments investigations were very much doing something weird and different enabled by this decoupling.

But also I feel like we're currently lacking that piece that pulls everything together into a singular abstraction.

Maybe that abstraction is HTML Modules, maybe it's just something frameworks will always have to fill in for. It just feels like there's a gap the web platform hasn't quite gotten to yet.