4 ms·
But, if I can be honest, solutions such as Hotwire or Livewire are not as snappy as a SPA. I personally prefer InertiaJs [1], which is some kind of front-end r
by reddalo 3y ago
But, if I can be honest, solutions such as Hotwire or Livewire are not as snappy as a SPA.
I personally prefer InertiaJs [1], which is some kind of front-end router system with its state synced with the server in an "old style" fashion.
[1] https://inertiajs.com https://inertiajs.com
- FridgeSeal 3y agoI don’t know what SPA’s you have the pleasure of using, but most SPA’s I’m subjected to are an exercise in molasses like interactions and loading spinners.
- qudat 3y agoYeah, they are building SPAs incorrectly by relying on something like `react-query` which is waterfall rendering land. People don't truly understand the sacrifice they are making by using `react-query`. It isn't designed for large scale SPAs, it's designed for small sites that just need to fetch a little data.
- FridgeSeal 3y agoI can’t help but feel, if SPA’s keep getting “built wrong”, then at some point, we ought to look at why people keep building them wrong.
- reddalo 3y agoI agree, most SPA's are very poorly designed. But others work so well that you don't even notice it. Random examples: Gmail, Notion.
- FridgeSeal 3y ago> Well designed > gmail I too, enjoy satire.
- reddalo 3y agoWhy? Gmail is one of the most used webapps in the world, surely it shows its age, but it's doing its job pretty well, and way better than all the other commercial webmail clients I've tried.
- 0xblinq 3y ago+1 We're also using Inertia in a pretty large project and we're super happy with it.