News for hackers. Stuff that matters.
Re:Use web components for what they’re good at by pax_americana on Thursday August 24, 2023 @07:08AM (#37247447)
Reddit is actually undergoing a rewrite for their web frontend, which now heavily uses web components using lit. You can try it by accessing sh.reddit.com or using reddit without logging in.
Re:Use web components for what they’re good at by kevincox on Thursday August 24, 2023 @12:38PM (#37251036)
Wow, this is actually way faster than new.reddit.com. I may try it out over old.reddit.com. There is obviously a difference in that it emphasizes media content with large cards instead of the more dense old.reddit.com but that is preferable for some content. I'll have to see how it feels with more use.

The only major problem I noticed is that the "comments" button wasn't a link so you couldn't open it in a new tab. I don't know why web devs hate real links. They think the only think you can do with a link is click it to open the target page.

Re:Use web components for what they’re good at by troupo on Friday August 25, 2023 @08:28AM (#37260937)
Reddit is a company that seems to be chasing trends not understanding what they are.

I fully expect their site to become the same mess as their previous React re-write. I mean, it already is. There are people arguing that 2 seconds to load text and images is fast, actually: https://twitter.com/addyosmani/status/1678117107597471745 ("Engineering Leader, Google Chrome"). And they already load 109 JS files to display it.