by ClayFerguson · 9y ago · 0 comments
There is one part of it that is mildly interesting (on the site itself) which is the RSS reader capability here:
- Can’t open any of the pages in a new tab.
- Can’t go back.
- Can’t close the page without an “unsaved changes” prompt even though I didn’t interact with it at all.
- Doesn’t maintain state when restarting the browser or navigating through history.
- Doesn’t keep my scroll position when switching between tabs. Very painful if I clicked one accidentally.
- Doesn’t seem to be possible to focus or activate tabs via keyboard.
- Takes 3 seconds to load on my network. This is mostly up to latency, but making 119 requests totalling nearly 3 MB with no design to speak of yet probably doesn’t help.
- Takes a further 7 seconds to start fading in (why does it fade in?) on my device (2012 MacBook Pro 13") on a cold start, 4 seconds if just hitting Enter in the address bar.
- “Processing request” flashes on for a fraction of a second with an animated progress bar. How many progress states are there?
And it doesn’t even do anything in this state except let you flip between tabs. If things that are not this way are obsolete, I will gladly hang back and be obsolete with them.
But hey, the menu animation is very smooth!
I'm not sure why you would assume no one could find faults in the code when they even have comments right there about said faults.
So the mere fact that you said "giant global variable" is proof beyond any doubt that you don't know jack about namespaces, and all you were barely able to do was notice the lack of module loaders at the top of my files.
You may not even know this, but packaging an app into a single downloadable JS file (modules not even necessary) is actually the modern approach. It lends itself to better compression+minification. Once installed in a browser cache it's usable just like an 'installed' piece of software. But I thank you for the phrase "giant global variable". I'll be laughing at that for years to come.
I think if an SPA can achieve all of these http://rauchg.com/2014/7-principles-of-rich-web-applications...
with minimal additional payload, then it's good.
Also, edge swipe from right or left on iPhone completely doesn't work.
Compare your site to Wikipedia for example. Which feels smoother, especially on a mobile page?
A javascript application is like a computer program running in your browser. Whether you realize it or not, every page reload is a 'restart' of that app. Do you think an app needs to RESTART just because someone changes screens or soemthing? It's insane right? Without an SPA that is that is genuinely whats really happening.