|
|
|
|
|
by andersmurphy
23 hours ago
|
|
A focus on morph by default means you don't have an explosion of endpoints and can write programs like the 300 redirect days. [1] Once you want realtime/collaborative app SSE + morph lets you do that easily. Add streaming compression and this approach is suddenly crazy bandwidth efficient. For people coming from react this gives you v = f(state) over the wire. Lastly signals handle the edge cases where an out of bound morph would nuke your ephemeral client side state (mostly text input). You can do this in htmx but you are fighting the design the whole way. Turbo is a bit better but doesn't have signals. [1] https://dev.37signals.com/a-happier-happy-path-in-turbo-with... |
|