4 ms·
Cool site, I just checked out on Android phone, works (as in fits on screen) in landscape mode; otherwise not. As far as SPAs go the initial page load is relati
by virtualwhys 11y ago
Cool site, I just checked out on Android phone, works (as in fits on screen) in landscape mode; otherwise not. As far as SPAs go the initial page load is relatively fast.
Mobile aside, what is really gained in the SPA approach here when you have what is essentially a brochure site? That is, there isn't a lot of content, and it's all static AFAICT, so why not just send the minimal amount of html over the wire and be done with it? Html fragments are already covered for FAQ et al so don't even need to make a round trip to the server.
Anyway, you'd get above checkmarks for free and, if you generate server-side content using a type safe language (Scala, OCaml, Haskell, C#, etc.), for the most part you'd avoid the code salad of client-side typing.
Obviously I have a server-side bias, am curious to see real world use cases where SPAs are a must vs. a trend.
- buckbova 11y agoI don't suspect he was referring to the gocardless product site, but instead the actual dashboard product. https://gocardless.com/pro/#features https://gocardless.com/pro/#features https://gocardless.com/features/#dashboard https://gocardless.com/features/#dashboard
- virtualwhys 11y agoThat's where I was. Not seeing any SPA requirement to click "Payment History" and js display a hidden layer. Anyway, as far as SPA approaches go this site works well, pretty snappy, no FOUC, just pointing out that server-side + javascript for ajax/effects/transitions is also a viable means to creating a positive user experience.
- stevedomin 11y agoI was actually referring to the product site itself. But you're right our dashboards are also SPA.