reactfire works with Next.js but the full SSR/RSC story needs exploration before we can write authoritative guidance. Known pieces:
Solved (client-side patterns):
Needs exploration:
Outcome: a "Using reactfire with Next.js / RSC" section in docs covering both the simple 'use client' pattern and the Firestore SSR serialization approach.
Related: #530, #334
reactfire works with Next.js but the full SSR/RSC story needs exploration before we can write authoritative guidance. Known pieces:
Solved (client-side patterns):
'use client'for App Routerssr: falsevianext/dynamicto prevent SSR initialization — see FirebasegetAnalytics()throwsError: Component analytics has not been registered yet#530Needs exploration:
Outcome: a "Using reactfire with Next.js / RSC" section in docs covering both the simple
'use client'pattern and the Firestore SSR serialization approach.Related: #530, #334