Fix #893: Home Page Is a Client Component Rendering Analytics - #974
Fix #893: Home Page Is a Client Component Rendering Analytics#974rudreshborle wants to merge 1 commit into
Conversation
|
@rudreshborle is attempting to deploy a commit to the csxark's projects Team on Vercel. A member of the Team first needs to authorize it. |
|
Warning Review limit reached
Next review available in: 55 minutes You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (9)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
🎉 Thank You for Your ContributionHello @rudreshborle, Thank you for submitting a Pull Request to CryptoViz. We appreciate the time and effort you've invested in contributing to the project. Your Pull Request has been received successfully and will be reviewed by the maintainers as soon as possible. 📋 Pull Request Checklist
Ensuring these requirements are met helps streamline the review process and enables maintainers to review your contribution more efficiently. ❤️ Support CryptoVizIf you find CryptoViz helpful, consider supporting the project by:
Your support helps increase the project's visibility and encourages continued development. Thank you for being a part of the CryptoViz community! Thank you once again for contributing to CryptoViz. We appreciate your support and look forward to reviewing your contribution. |
|
Hi @rudreshborle, resolve the merge conflicts |
Pull Request
Description
This pull request addresses the issue of the home page being rendered as a client component, which leads to no SSR/static generation and suboptimal performance. The proposed solution involves moving the
<Analytics />component toapp/layout.tsx, making the home page a Server Component, and refactoring any interactive parts into small client sub-components.Related Issue
Fixes #893
Type of Change
Changes Made
<Analytics />toapp/layout.tsxTesting
Screenshots
If applicable, attach screenshots or screen recordings.
Checklist
Additional Notes
This PR aims to improve time-to-first-byte and LCP metrics by leveraging server-side rendering for the home page and ensuring analytics tracking is consistent across all pages.