perf: lazy-load testimonial embeds - #148
Open
liukaisweetsmile-pixel wants to merge 1 commit into
Open
Conversation
|
@liukaisweetsmile-pixel is attempting to deploy a commit to the gibwork Team on Vercel. A member of the Team first needs to authorize it. |
Author
|
Hi team — Vercel reports that a Gibwork team member must authorize the preview deployment for this first-time-contributor PR. The production build and validation notes are included in the PR description. When convenient, could someone authorize the preview and review the funded task submission? I’m happy to make adjustments. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
react-tweetrequest until its card is close to the viewportWhy
The current section renders the same ten tweet IDs twice—once for mobile and once for desktop—and every mounted
ClientTweetCardcallsuseTweetimmediately. Even though testimonials are well below the first viewport, those third-party requests can compete with critical landing-page resources.This change keeps the social proof and existing visual design while making the section progressive: no tweet client mounts until its card approaches the viewport, and mobile cards that are still clipped horizontally remain unloaded until the visitor browses to them.
Validation
/Users/kai/.cache/codex-runtimes/codex-primary-runtime/dependencies/node/bin/node node_modules/typescript/bin/tsc --noEmit --incremental false/Users/kai/.cache/codex-runtimes/codex-primary-runtime/dependencies/node/bin/node node_modules/next/dist/bin/next buildgit diff --checkdata-loaded="false"Preview status
Vercel currently reports that a Gibwork team member must authorize the deployment for this first-time contributor. This is an account/deployment permission gate; the production build above completed successfully from the same commit.
Task context
Submitted for the funded Gibwork task: Improve Gibwork Landing Page or Submit a GitHub Enhancement.
The Gibwork reward is contingent on task-owner review and approval.