37 karma · joined Jun 14, 2012 (14y ago) · 28 submissions
comment 1y ago · link · parent
comment 1y ago · link · parent
comment 1y ago · link · parent
comment 2y ago · link · parent
comment 2y ago · link · parent
- 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
If you squint really hard, you can think of it as HTMX meets Elixir ;)
13.
Live Templates: connect a template in HTML to a stateful back end(github.com ↗)
1 points · by superchris · 2y ago · 1 comment
comment 3y ago · link · parent
comment 3y ago · link · parent
17.
Adding ecommerce to static websites with custom elements(elements.launchscout.com ↗)
3 points · by superchris · 3y ago · 1 comment
comment 3y ago · link · parent
comment 3y ago · link · parent
I should also say that if you do need to use a separate front-end for whatever reason, I've built a thing called LiveState: https://github.com/launchscout/live_state that lets you keep things far simpler and gives a "LiveView like" experience.
comment 3y ago · link · parent
comment 3y ago · link · parent
22.
The historical context and reasons we should embrace web components(dev.to ↗)
2 points · by superchris · 3y ago · 1 comment
comment 3y ago · link · parent
comment 3y ago · link · parent
comment 13y ago · link · parent
comment 14y ago · link · parent