Re:The Failed Promise of Web Components
by withinboredom on Wednesday September 30, 2020 @08:08PM
(#24645677)
I’d be interested in checking out your site. I normally only have a 2G connection on my phone, I’d love to be able to read something that’s NOT HN. This site is the only site I know that takes less than 5-10 mins to load, if it loads at all.
Re:The Failed Promise of Web Components
by ricksharp on Wednesday September 30, 2020 @08:52PM
(#24646013)
Ok, here it is https://ricklove.me
Here is a post that explains some of the content that is interesting: https://ricklove.me/cool-stuff
Let me know how it does on a slow connection.
Re:The Failed Promise of Web Components
by withinboredom on Thursday October 01, 2020 @06:52AM
(#24649481)
It took 30s to 60s to fully load, but the content was available very quickly. The most entertaining thing was the stripe example. I didn’t realize it was supposed to load the card form, so I hit subscribe and it caused an error (because the card form wasn’t loaded yet) but the app handled it appropriately. It would be better if the subscribe button were disabled before the component loaded (which took at least a minute), but it’s still pretty good.
Overall, it was a very refreshing experience.
Re:The Failed Promise of Web Components
by ricksharp on Thursday October 01, 2020 @07:27AM
(#24649676)
Ah, makes sense on the stripe component.
I did notice that for some components I need to show a loading indicator while they are loading async (for a slow connection).
Thanks for letting me know!
I'm quite sad that hunter2 isn't in your passwords.txt
Re:The Failed Promise of Web Components
by ricksharp on Thursday October 01, 2020 @06:32AM
(#24649374)
Good idea :) I’ll add that.
I guess I’ll know if someone finds the Bitcoin.
Update: I added a few more nerd lore passwords - thanks for the idea!
Re:The Failed Promise of Web Components
by la_fayette on Thursday October 01, 2020 @02:23AM
(#24647934)
That is really a great website. Why didn't you built that site with HTML?
Just check the stats here: https://perf-track.web.app/react
Re:The Failed Promise of Web Components
by ricksharp on Thursday October 01, 2020 @06:26AM
(#24649348)
It’s not a static site.
Type “dir” in the header (or other activities in the “cool-stuff” post).
Moreover, I can build anything I want very quickly - with great engineering - and still get performance comparable to a static site.
This is comparable to hacker news home page (which is purely static), but my first contentful paint was slightly faster (probably because my site is slightly smaller).
Both sites were about 4 times faster (TTI) than google home page and typescript home page.