News for hackers. Stuff that matters.
Re:Mesh: I tried Htmx, then ditched it by all2 on Tuesday September 23, 2025 @01:42PM (#45350386)
For my projects that require a distinct unit of functionality, I typically reach for a JS library that I can include as a payload (no npm, no deps, just a JS file). SortableJS is a good example, so is MarkdownJS if I want the browser to handle MD rendering.

This only goes so far, though. At some point, an app developer might want to integrate these distinct units of functionality, and I'm not sure how I would go about that. I haven't gotten to that point.

Re:Mesh: I tried Htmx, then ditched it by bccdee on Tuesday September 23, 2025 @05:30PM (#45353007)
I think I'd try a lightweight framework like preact or vue that I can use without a build step. Keep components as separate & stateless as possible; let them live as little islands of javascript, notifying other parts of the frontend of updates through custom DOM events and talking to the server directly with fetches.
Re:Mesh: I tried Htmx, then ditched it by Atotalnoob on Tuesday September 23, 2025 @10:47PM (#45355721)
You could consider using web components