Post

Jason Miller 🦊⚛
Jason Miller 🦊⚛@_developit·
With the new Navigation API, you can now show the native spinner + stop button for any asynchronous operation - all you need is a Promise.
English
23
340
2.7K
332.2K
Domenic Denicola
Domenic Denicola@domenic·
@_developit @mathias I'm a little worried about the accessibility announcement this will generate... Maybe it's fine if you're largely using it for full-page effects that deserve a "loading" announcement anyway?
English
1
0
3
2.1K
Andreas Finger
Andreas Finger@mediafinger·
@_developit Please only do this with sufficient delay (300ms or so) to allow for most round-trips on a good connection to resolve before showing the spinner on every click! Otherwise your page will feel slower and somehow broken.
English
1
0
3
761
Éliette
Éliette@elipriaulx·
@_developit @noseratio Is there a chance you could click the 'stop loading' button a fraction too late and inadvertently refresh the page?
English
1
0
2
436
Gustavo
Gustavo@gustavo_pch·
@_developit Now let’s wait for Safari as it’s not polyfillable 🙃
English
0
0
2
1.7K
Ricardo B�nffy -
Ricardo B�nffy -@0xDEADBEEFCAFE·
@_developit I can't avoid hating this idea - the spinner and everything outside the page belongs to the browser user and needs to reflect the browser's state. These UI elements need to be trusted by the user and making them accessible this way to code on the page breaks that trust.
English
1
0
1
105
Robert Vitonsky
Robert Vitonsky@rob_vitonsky·
@_developit Wow, it's disgusting. Now user even can't be sure the cause of appearing of this spinner. Because it may be because resources still loading (default behavior) or maybe some developer enable it just for fun or due to bug
English
0
0
1
162
h3nr1p
h3nr1p@_h3nr1p_·
@_developit Waiting for an API to simulate the page reload, without actually reloading the page
English
0
0
0
119
Aquele Hugo
Aquele Hugo@aquelehugo·
@_developit But which effect would stopping it have since promises are not cancellable?
English
1
0
0
1.6K
Edouard
Edouard@bedouard·
@_developit Does it fix the problem with SPA and Google Crux CLS ?
English
0
0
0
533
Jacob.lol 🤣
Jacob.lol 🤣@ebey_jacob·
@_developit I was playing with that + the client transition API recently: #L6" target="_blank" rel="nofollow noopener">github.com/jacob-ebey/htm…
English
0
0
0
2K
Jeff
Jeff@jeffy5555·
@_developit I’m really excited for all of this to ship.
English
0
0
0
761
Fregante
Fregante@fregante·
@_developit This is great, but only if pressing the "Stop" button actually does something. Many AJAX libraries don't support that even via ESC
English
0
0
0
283
Paylaş