It's crazy that providing URLs that can be used to link to content is somehow an advanced technique in this weird SPA-infested world we live in these days
-
Show this thread
-
Like the ability to link to things is a stretch goal now
5 replies 6 retweets 87 likesShow this thread -
We still get to make fun of help pages that tell you to "go to menu X, then option Y, then scroll to Z" rather than just linking to the thing they're talking about, right?
3 replies 6 retweets 55 likesShow this thread -
Tip for SPA developers: if you put the work in to get actual URLs working, SO many features become SO much cheaper to build. "Lets prompt the user to update their credit card": now it's a static alert component with a link to the billing section!
3 replies 12 retweets 85 likesShow this thread -
Not to mention URLs give you a best-in-breed cross platform "share" feature across all known devices (You did remember to implement enough of a server-side rendering step to power preview cards in sharing apps, right?)
3 replies 3 retweets 45 likesShow this thread -
Here's a really cheap trick for URLs in SPAs that no one seems to be using: query strings! Like for old school PHP! You get real (not hashbang) URLs without needing to configure your server to respond to many different paths. Demo: https://www.owlsnearme.com/?place=108878
4 replies 4 retweets 42 likesShow this thread -
Replying to @simonw
Also a reason to use GET in forms rather than POST so you get usable links by default
2 replies 0 retweets 0 likes -
Replying to @kevinmarks
The idea that you can build an interactive website feature using forms with no JavaScript at all is SO far out of the mainstream now
4 replies 3 retweets 19 likes
...at the same time, basic competence in serving seems to have degraded. So much missing gzip/caching/etc.
-
-
Replying to @slightlylate @simonw
And etag/last modified and 304 handling
0 replies 0 retweets 2 likesThanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
& Web Standards TL; Blink API OWNER
Named PWAs w/
DMs open. Tweets my own; press@google.com for official comms.