5 ms·
Something I love about LiveView that is not mentioned often I think is how easy it makes full stack asynchronous processes. Because it is so ludicrously easy t
by liampulles 2y ago
Something I love about LiveView that is not mentioned often I think is how easy it makes full stack asynchronous processes.
Because it is so ludicrously easy to send an asynchronous event to a user's browser from the backend, it helps avoid the temptation to synchronously wait in the browser for the backend to finish a long process, which helps avoid creating big chains of synchronous calls on the backend which can cause so many issues.
- mcintyre1994 2y agoI've found this with React-Router/Remix too. I really like their Action/Fetcher model, it's a great way to simplify communication with the backend (or with client-side fetch requests). But as soon as you introduce a long-running task and you want some way to inform the user about progress or provide partial results, you're on your own.