Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

The auth guide and the sample still import `beforeAuthStateChanged` from `firebase/auth`

クローズ
#3,815 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 3 日以内に返信

関連するプルリクエストがすでにマージされています。

  • #3817 @armando-navarro による — マージ済み

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
25/100
issue の種類
ドキュメント
明瞭さ
明確に書かれている
活発さ
停滞
技術スタック
angular, typescript

調査の方向性

Read docs/auth.md and sample/src/app/auth/auth.component.ts, then check the release versions named in the issue. Update both imports to use @angular/fire/auth and keep the compatibility note for AngularFire 20.1.0 and earlier, plus 21.0.0-rc.0 and rc.1. Done when both files use the new import and the note still identifies those affected releases.

索引モデルが issue の本文から書いたものです。

説明

comp: auth comp: docs type: chore version: current (v17+)

The cookie sync in step 2 of the server-side rendering section of docs/auth.md, and sample/src/app/auth/auth.component.ts, import beforeAuthStateChanged from firebase/auth instead of @angular/fire/auth. That was a workaround for #3748: AngularFire's version kept the app marked as busy until its callback first ran, and the callback only runs when someone signs in or out.

The fix (#3770) shipped in AngularFire 20.1.1 and 21.0.0-rc.2.

So the guide and the sample can import beforeAuthStateChanged from @angular/fire/auth like the rest of the guide. The note should stay for the releases that still have the bug: 20.1.0 and earlier, and 21.0.0-rc.0 and rc.1.

主要言語
TypeScript
スター
7.8k
フォーク
2.2k
平均マージ
3日 36分
マージ済み PR(30日)
24

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

angular/angularfire のほかの issue

angular/angularfire の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。