I literally hate this skeleton UI pattern. Fuck React.
Becsuse off course they are rounded kebab strips.
perfect for gorgeous looks, push asap
>>109612956has nothing to do with react you fuckhead
>>109612956>>109613011Classic
>>109613013>t. webshitter
>>109613036It's disgusting how accurate this is to modern websites.
>>109612956Everything in the modern is designed to be as offensive to the senses as possible. Modern technology is optimized to generate Loosh.
>>109612956This isn't even a react problem, it's webshitters.Using react router in framework mode feels exactly like old style page loads, except faster because you're just waiting on that one API call (the loader. And it should only be 1 call.)It took them 15 years but they did finally manage to make react tolerable.
>>109612956I recently had the displeasure of using Microsoft Dynamics bloated with dozens of enterprise React plugins, and it took a full minute to load the UI for a single entity. What a time to live in.
>>109616381Yeah, but some retards here will tell you react is faster because it doesn't fetch the whole page, justjson with data. React shitters are delusional.
>>109612956it was supposed to help with the problem of layout shifting once dynamic content loads,instead, designers took it as a new toy to play with.it shines, it wiggles, it taunts you while you're waiting for actual content.it shows in places where's no threat of content below it shifting.fuck react. fuck modern web devs and designers.
>>109617712what's the alternative?
>>109618012 death to skeumorphics
>>109618012Just showing nothing or a text that says "loading...". If there's nothing to show be honest about it, don't insult the user's intelligence.
>>109618027showing nothing makes it look broken/stuck
>>109618110Only if you use it in the wrong places.There are four options essentially:- Nothing- Loading indicator in-place- Loading dialog pop-up- Skeleton UI3rd should be used when it's important that everything finishes loading before the user interacts. 4th should never be used.
>>109618012load the content instead of loading a web app that loads the content
>>109618149>>- Loading dialog pop-upThere may be some delay between HTML appearing and hydration (attaching events) so its useful there too
Whenever I encounter that, it feels much slower to me but that might just be 'tism. People started adopting this practice for a reason so IDK. I think it has something to do with letting the user know something SHOULD be there but that it hasn't loaded yet, making it clear.
>>109618172/thread
>>109618172I'll agree that SPAs are overused, like why the hell does libsodium documentation need to be a nextjs app? But sometimes it's unavoidable.
>>109615037>reflows text four times in your pathheh, nothing personnel kid
>>109614080yes I am, what now
>>109617712What does that have to do with react you brown retard
>>109618733it has everything to do with enshittifying the web.react is made to produce webshit faster at the cost of users suffering.
>>109612956LLMs will finally allow users to effectively fight back against webshitters. Making custom frontends is now easier than ever, and fully automatic
>>109621390Meanwhile in reality webshit is invading the terminal and bringing react to the party.
>>109618180there is no reason the loading of text to take multiple seconds. I don't care if it saves you 5% development time or whatever, it is spiking my cortisol levels
>>109621405I will never understand this lmao
>>109621405omg if you care so much and have such better ideas why don't you code something better??? or ask a chatbot to help you because... welll... we all know you don't code lol
>>109621390Actually clankers love framework bloat
>>109618149There is a 5th option, execute any web dev who creates a site so bloated it needs to load.
>>109622564why react instead of solid or htmx or just plain es2026? are clankers retarded?
>>109622564Not as much as you do, trans.
>>109623103Because they are chance machines that by definition will just output the most common patterns unless you tell them otherwise. People making my first webshit don't understand anything it's doing, so don't even comprehend that there may be a better way.
>>109623056Factor in latency and connection speed, yes it's gonna load. Also a page reload shouldn't be necessary where a user is punching in crud operations. For read-only sections SPAs are retarded though.
It's done for SEO. Literally that's the only reason. Google considers your page to have loaded at the "largest contentful paint" or some such. So the way to trick google is to do one big paint at the start, then trickle in small changes afterwards until the whole page is rendered. That's it, that's why they do it. Sure, there's probably some blog post out there telling people that users prefer it this way, but it not like they give a fuck what users want otherwise, so obviously that can't be the real reason. They need to rank high on google, this is how you do that, end of story.
>>109612956there is 0 reason a page or content load on a website should take more than 200ms ABSOLUTE MAX in the age of investing billions into cloud datacenters. jeets ruin literally everything with SPA