Re:Why I hate your Single Page App
by imglorp on Thursday August 31, 2017 @12:54PM
(#15141698)
I think the prime directive of all UI should be, "Ack UI inputs immediately, no matter what else is going on." Throw up a spinner, make something throb, change a status to "loading", anything. Don't just go off and attempt to do it and hope for timely response.
[ Parent
| on HN ]
Re:Why I hate your Single Page App
by chiefalchemist on Thursday August 31, 2017 @10:33PM
(#15145696)
Why can't the browser do this? I mean, it's a universal function / feature, right? And ultimately, it's the browsers that's waiting, not to application per se. (Yeah, I okay. But you know what I mean).
I can't think of any good reason why the browsers can't help out with this UI / UX. Am I crazy?
Technically, in a SPA, the browser isn't waiting. Clicking the link just triggers a function call.
Re:Why I hate your Single Page App
by chiefalchemist on Saturday September 09, 2017 @08:10PM
(#15209767)
There has to be a wait somewhere. That is, the browser can't update anything until it knows what to do. So between the click and that new assignment is wait, yes?