4 ms·
Twitter embeds are equally bad. Ended up remaking them to output static HTML + CSS to improve perf (https://leerob.io/tweets https://leerob.io/tweets).
by leerob 6y ago
Twitter embeds are equally bad. Ended up remaking them to output static HTML + CSS to improve perf (https://leerob.io/tweets https://leerob.io/tweets).
- recursive 6y agoAs a user, I hate twitter embeds. If I select text inside them, they redirect my user agent location. That's never what I want.
- umaar 6y agoSame, I get ~500 tweets displayed with: - No JavaScript necessary - All profile images turned into one massive sprite - Minimal payload size Here are what the tweets look like when rendered: https://umaar.com/dev-tips/feedback https://umaar.com/dev-tips/feedback Here's the code to achieve that: https://github.com/umaar/better-twitter-embed https://github.com/umaar/better-twitter-embed