7 ms·
Yeh I've seen some of those as SPAs... ouch Honestly, I'd rather not be presented with an empty grid of spinners tbh I think you can get something useful on f
by simonhamp 3y ago
Yeh I've seen some of those as SPAs... ouch
Honestly, I'd rather not be presented with an empty grid of spinners tbh
I think you can get something useful on first render and then dynamically update from there (either with polling, SSE or WebSockets) all without the added complexity of an SPA
- spiderxxxx 3y agoI make mine such that the first load includes the data needed in the first load of the page. If you're going to populate a grid on the first load, just have the backend include that in the page itself inside a dynamically inserted javascript block. For something like paged search results, you can preload the first page, and preload the second page a short while after that.