1 comment

[ 2.9 ms ] story [ 15.0 ms ] thread
This is why I'm bullish on Hotwire, LiveView, Livewire, etc. It enables you to keep the majority of your logic in one place (the server). It's a magical place where everything you want to do is a method call away. I've seen so much time and energy spent on translating data into intermediary formats so the backend and frontend can talk with one another. You just dodge an entire set of problems by rendering on the server and sending the HTML to the client.