Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Spike: Next.js / React Server Components usage guide

未关闭
#722 1 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
38/100
Issue 类型
文档
描述清晰度
基本清楚
活跃度
冷清
技术栈
firebase, next.js, react, typescript

调研方向

检查相关 issue #530 和 #334,然后阅读链接的 Firestore 序列化参考资料。探索在 React Server Components 中使用 Firestore,并确定哪些 reactfire hooks 与 RSC 兼容,哪些仅限客户端使用。完成标准是添加一个“Using reactfire with Next.js / RSC”文档部分,涵盖 'use client' 模式和 Firestore SSR 序列化方法。

由索引模型根据 Issue 内容生成。

描述

v5

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):

  • Context providers need 'use client' for App Router
  • Browser-only SDKs (Analytics, etc.) also need ssr: false via next/dynamic to prevent SSR initialization — see #530

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

主要语言
TypeScript
星标
3.6k
派生
403
平均合并
5 天 1 小时
30 天内合并 PR
10

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

FirebaseExtended/reactfire 的其他 Issue

查看 FirebaseExtended/reactfire 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。