Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.
TypeScript i18nextnext-authnextjspostgresqlprismareact-emailt3-stacktailwindcsstrpcturborepotypescriptzod
📝 Document why the invite page is deliberately client-only (#2829)
Luke Vellae1d34db0f0e3
diff --git a/apps/web/src/app/[locale]/invite/[urlId]/invite-page-loader.tsx b/apps/web/src/app/[locale]/invite/[urlId]/invite-page-loader.tsxindex be9b32685..0fea3d1ff 100644--- a/apps/web/src/app/[locale]/invite/[urlId]/invite-page-loader.tsx+++ b/apps/web/src/app/[locale]/invite/[urlId]/invite-page-loader.tsx@@ -2,6 +2,11 @@import dynamic from "next/dynamic";import { PollBrandingFromContext } from "@/features/poll/components/poll-branding";+// Deliberately client-only: the page is built around Intl-formatted dates+// and the viewer's timezone, neither of which can be rendered on the server+// (no zone cookie on first visit, and Intl output differs across engines).+// The page's tRPC prefetches still matter — they seed the client query cache+// via HydrationBoundary so useSuspenseQuery resolves without a round-trip.const InvitePage = dynamic(() => import("./invite-page").then((mod) => mod.InvitePage),{ ssr: false },