Closed bastianalbers closed 4 years ago
This pull request is being automatically deployed with ZEIT Now (learn more). To see the status of your deployment, click below or on the icon next to each commit.
🔍 Inspect: https://zeit.co/opentechschool/websitenext/4rceo6un8 ✅ Preview: https://websitenext-git-feat-lazyload-twitterfeed-on-intersection.opentechschool.now.sh
To reduce the huge amount of requests on the startpage i wrapped the TwitterFeed in an IntersectionObeserver. This brings the number of initial requests down to 27 from ~115. I'm looking to bring in a fallback/polyfill solution for older browsers that don't support IntersectionObserver as a follow up.