AI & Agent Dev Bug Sandbox logo
AI & Agent Dev Bug Sandbox
Back to Radar

Bug: Pricing Page Shows Client-Side Exception

The Supabase pricing page intermittently displays a client-side exception on initial load, but reloading the page resolves the issue. This suggests a hydration mismatch or client-side rendering inconsistency.

highConfidence 65%Next.js

Origin Analysis

The error is typical of a React hydration mismatch in Next.js, where the server-rendered HTML differs from the client-rendered output. This can be caused by inconsistent data between server and client (e.g., feature flags, A/B testing, locale, or pricing data fetched via client-side APIs) or by components that render differently on the server and client.
1. Open https://supabase.com/pricing. 2. Observe the client-side exception message on first load. 3. Reload the page; the error disappears and the page loads normally.

Fixing Code Block

Edge Case Audit

Disabling SSR for the pricing content may affect SEO and initial page load performance (content will appear after JavaScript loads). Ensure a loading placeholder is provided. Additionally, verify that any data fetching or feature flag logic is client-side only to avoid other mismatches. Rollback: if issues arise, revert to the previous implementation and investigate the root cause of the hydration mismatch (e.g., use `useEffect` to synchronize state after mount).

Ecosystem Topology