[PR #4326] [MERGED] docs: disable ssr on testimonial item #5314

Closed
opened 2026-03-13 12:18:18 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/4326
Author: @himself65
Created: 8/31/2025
Status: Merged
Merged: 8/31/2025
Merged by: @himself65

Base: canaryHead: himself65/2025/08/30/suspense


📝 Commits (2)

  • efd48f2 docs: disable ssr on testimonial item
  • 6c2edfe docs: disable ssr on testimonial item

📊 Changes

3 files changed (+77 additions, -17 deletions)

View changed files

📝 docs/components/landing/testimonials.tsx (+58 -17)
📝 docs/package.json (+1 -0)
📝 pnpm-lock.yaml (+18 -0)

📄 Description

Summary by cubic

Disable SSR for the testimonials carousel to prevent hydration mismatch and flicker on the docs landing page. Wrap TestimonialItem in Suspense and use foxact to enforce client-only rendering.

  • Bug Fixes

    • Call noSSR() in TestimonialItem to render only on the client.
    • Wrap each TestimonialItem with Suspense to stabilize the initial render.
  • Dependencies

    • Add foxact ^0.2.49.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/better-auth/better-auth/pull/4326 **Author:** [@himself65](https://github.com/himself65) **Created:** 8/31/2025 **Status:** ✅ Merged **Merged:** 8/31/2025 **Merged by:** [@himself65](https://github.com/himself65) **Base:** `canary` ← **Head:** `himself65/2025/08/30/suspense` --- ### 📝 Commits (2) - [`efd48f2`](https://github.com/better-auth/better-auth/commit/efd48f27a4f5dc32f0c7671e2c5bc8fbfba39d57) docs: disable ssr on testimonial item - [`6c2edfe`](https://github.com/better-auth/better-auth/commit/6c2edfe954eecbf367cd6ed71160acb6f418f456) docs: disable ssr on testimonial item ### 📊 Changes **3 files changed** (+77 additions, -17 deletions) <details> <summary>View changed files</summary> 📝 `docs/components/landing/testimonials.tsx` (+58 -17) 📝 `docs/package.json` (+1 -0) 📝 `pnpm-lock.yaml` (+18 -0) </details> ### 📄 Description <!-- This is an auto-generated description by cubic. --> ## Summary by cubic Disable SSR for the testimonials carousel to prevent hydration mismatch and flicker on the docs landing page. Wrap TestimonialItem in Suspense and use foxact to enforce client-only rendering. - **Bug Fixes** - Call noSSR() in TestimonialItem to render only on the client. - Wrap each TestimonialItem with Suspense to stabilize the initial render. - **Dependencies** - Add foxact ^0.2.49. <!-- End of auto-generated description by cubic. --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-03-13 12:18:18 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#5314