Quite sincerely, it's a total failure. I got the chance to try the new interface, and it's so slow that it's barely usable. It's even slower than the old website, that was already painfully slow. Loading a random profile takes 8 seconds. Opening a messenger discussion takes 6 seconds. It reminds me of the new Reddit website. Facebook was more enjoyable to use 12 years ago. It's really sad that in 2020, 10k+ engineers…
Rebuilding our tech stack for the new facebook.com
171–180 of 489 posts
Re: Rebuilding our tech stack for the new facebook.com
#172Earlier quoted context omitted.
Everyone have 4G and Fiber, and a Core i7 and 16Gb of RAM :) Seriously…
That's not what I've said, and I somewhat agree with the original point, but this trend of wanting to cater to the lowest denominator rubs me the wrong way. Some guys think the web should be usable with a 50€ smartphone on GPRS, and I say no, because there's a middle ground.
You went to the other extreme though. Most people in high-income countries don't even have FTTH.
Re: Rebuilding our tech stack for the new facebook.com
#173Earlier quoted context omitted.
Sorry, I won’t take blame for that. Still haven’t found a use case for React/Angular or SASS/whatever. If I’m guilty of something is not recognizing the validity of those tools, as I’m sure there are. But 2MB CSS is simply inconceivable to me.
Big +1. I would be really interested to find one, only ONE, website where React/Angular was really bringing a better experience and better final product than a standard pure JS with simple Ajax system.
Indirectly it leads to better UX since the developers can spend more time on UI tweaking, than doing it vanilla.
Re: Rebuilding our tech stack for the new facebook.com
#174Earlier quoted context omitted.
Facebook was more enjoyable to use 12 years ago We'll see what the data show. I have been reading comments about Facebook's supposed decline for as long as I've been aware of Facebook and yet their published numbers continually show greater engagement. https://jakeseliger.com/2018/11/14/is-there-an-actual-facebo...
The unquestioning supplication at the alter of 'engagement' (a sterile marketing term if there ever was one) is what lead to where we are now in the first place. This is an affliction that pervades the entire consumer internet sector, but the folks at facebook seem to have refined it to its fullest potential. The other day I got a facebook notification on my phone, which said something along the lines of "You have 4…
Re: Rebuilding our tech stack for the new facebook.com
#175Earlier quoted context omitted.
Humans have been using physical and mental systems to manage complexity for eons, I simply can't understand this argument. React doesn't automatically fix spaghetti code if you don't know how to organize a platform-sized code base efficiently in the first place.
This is like saying "cabinets don't help organize a kitchen if you don't put anything in them" -- I mean, duh, you have to use it right. That's not an argument to have no cabinets. There's a reason nearly ALL major web applications rely on a _framework_....rails, django, laravel, you name it. These exist because it's really hard to organize vanilla code without a framework. React and FE JS are no different. If you're…
Good counterpoint. Parent comment sound too much like the "TRUE programmers don't use data structures" old meme
Re: Rebuilding our tech stack for the new facebook.com
#176Re: Rebuilding our tech stack for the new facebook.com
#177Re: Rebuilding our tech stack for the new facebook.com
#178I'm actually really surprised by the number of comments in this thread about how the new redesign is slower. I've had it since yesterday and it genuinely feels much faster and more responsive than the old Facebook UI - though, to be fair, that's not a huge accomplishment give that the old UI would take forever to finish painting or respond to input. I'd consider it a success, especially when compared to the disaster…
Re: Rebuilding our tech stack for the new facebook.com
#179I rarely use Facebook, but when I do I use https://m.facebook.com instead of the main site. Similarly i.reddit.com and the HTML version of Gmail. Which aren't great looking, but pretty usable. I hope these versions will be maintained for a long time.
>Similarly i.reddit.com Try https://old.reddit.com It's so bad that people made Browser Extensions for Firefox[0] and Chrome[1] [0] https://addons.mozilla.org/en-US/firefox/addon/old-reddit-re... [1] https://chrome.google.com/webstore/detail/old-reddit-redirec...
The new Reddit definitely seems a lot faster nowadays than it did when it first launched.
Re: Rebuilding our tech stack for the new facebook.com
#180Earlier quoted context omitted.
we use this approach since more than a year with very good results. Regarding the data transfer it is not much of a problem because those classes usually get repeated a lot across the elements and having lot of repeated string is the best case scenario for gzip compression leading to basically no size impact. https://github.com/utilitycss/atomic This is the framework we developed to create atomic CSS component librar…
Your HTML is still undeniably larger than something with dramatically fewer class attributes though, if you minify the same way. Hence my "single page" vs "many" difference. gzip helps for sure, but I doubt ` ...` ends up larger than ` ...`.
vs
but more something like
vs
so in the long run you tend to have more repeated strings across even completely unrelated elements and that usually balances out the possible increase in non gzipped bytes. But to be honest we did not had a detailed comparison with edge cases and it would be interesting to see when it actually may be a bad idea and when it is totally fine