Back to News
Advertisement
Advertisement

⚡ Community Insights

Discussion Sentiment

100% Positive

Analyzed from 126 words in the discussion.

Trending Topics

#great#html#band#swaps#string#language#video#codec#fiddling#solve

Discussion (6 Comments)Read Original on HackerNews

yawaramin43 minutes ago
> Fiddling with out-of-band swaps to solve this feels error prone and overly hard to maintain.

This is almost always because of using a string-based templating system. If you use a language-embedded HTML generation library, it represents HTML fragments as first-class values in your language, and you can compose them together in flexible ways. This makes out-of-band swaps very simple.

dhamidi29 minutes ago
HTMX is great, Hypermedia and HATEOAS are great, HTML-string-templates are not great.

For some reason they are still popular.

A fun experiment is to use a JS runtime with React but render the component tree on the server onto a Writeable stream.

Very easy to understand, no useEffect footguns, great composability.

arthurcolleabout 3 hours ago
Video doesn't seem to be rendering, has 0:00 and 0:00 as start and end times
QuantumNomad_about 2 hours ago
Video codec is avc1. I think in Safari on iOS this codec is not available on iPhones older than iPhone 15 Pro.
watermelon0about 3 hours ago
Works for me in Firefox. It's h264/mp4.
pekimabout 2 hours ago
And for me in Chrome.