TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Live Templates: connect a template in HTML to a stateful back end

1 pointsby superchrisover 1 year ago

1 comment

superchrisover 1 year ago
The live-template element provides a connected, or &quot;live&quot; template that connects to a stateful backend application provided by Livestate. After connecting to a LiveState channel, it will<p>- render the initial state - subscribe to state updates and re-render on changes - push events to a Livestate channel which may then compute a new state<p>If you squint really hard, you can think of it as HTMX meets Elixir ;)