|
|
|
|
|
by pwmglenn
17 days ago
|
|
Remix originally pitched itself as solving the 'middle' layer between frontend and backend. Closing the gap. It never quite managed to do so imo. Solid's solution here is beautiful. The server RPC and 'live' and 'broadcast' are seamless, and feel much more natural to use than liveview or htmx/datastar imo. |
|
> Declares a live server function whose answer is the same for every viewer: on the client exactly live(fn) — the sharing is the server's.
> See Share one live answer across viewers for what is shared, what runs per caller, and the compile-time capture rule.
> live() runs one producer per connection, which is right when the answer can depend on who is asking.