![](/img/trans.png)
[英]AngularFire Auth Persistence cannot be invoked without 'new'
賞金將在 5 天后到期。 此問題的答案有資格獲得+150聲望獎勵。 Carlos Dubón想引起對這個問題的更多 ...
[英]AngularFire Auth Persistence cannot be invoked without 'new'
賞金將在 5 天后到期。 此問題的答案有資格獲得+150聲望獎勵。 Carlos Dubón想引起對這個問題的更多 ...
[英]rxfire subscription not firing in componentdidmount
我正在使用 rxfire 在 componentdidmount 中組合來自 firestore 的數據: 這段代碼的問題不是觸發,屏幕卡在加載組件上。 如果我第二次加載屏幕,它就會工作。 難道我做錯了什么? 我該如何解決 ...
[英]sapper with firebase - fetch not defined
運行npm run dev時出現此錯誤 我認為rxfire不會導入 fetch,所以我將此行添加到src/server.tsglobal['fetch'] = require('node-fetch'); 錯誤仍然存在,有什么建議嗎? 我想我根本不需要添加這個。 我只是在src/ firebase ...
[英]How to check that a document has been created in Firestore with RxFire
在我的 React 應用程序中,我想在更新我的 UI 之前檢查后台 firebase function 是否在 Firestore 中創建了文檔。 因此,我使用來自 RxFire 的 docData function 來訂閱特定的“即將從背景功能創建”文檔中的更改: 問題是 userData.uid ...
[英]How does RxFire handels firestore queries
這個 js reduce 可以很好地處理查詢結果: 但是當我使用 RxJs reduce 時,它停止工作。 它與流結束有關,但是......但我不明白 RxFire / RxJs 如何處理流式 Firestore 查詢結果: 更新這工作正常,但是...: ...
[英]Error in epic with redux-observable and rxjs
我正在嘗試創建一個使用 rxfire 從 firestore 獲取數據的史詩。 每次發出值時,都需要分派一個動作。 我的代碼如下所示: const fetchMenu = (action$, _state$) => { return action$.pipe( ofType(Typ ...
[英]How do I force an observeable to complete?
有點小眾的問題,但我知道問題是什么,所以希望這里有人可以幫助我。 這是一個 Observable/RXFire 問題,而不是 xstate 問題。 我有這台機器可以調用一個可觀察的: 它應該工作的方式是機器在加載時調用 observable,然后一旦 obs 完成發出它的值並調用 comple ...
[英]How do I convert an observable that emits an array into an observable that emits each value of the array individually?
我正在使用 RXFire 和 RXJS。 返回 我想要的是一個返回的 observable 我嘗試使用 from() 和 toArray() 的組合(即將可觀察對象轉換為普通數組並返回到一個一個一個地發出每個文檔的可觀察對象)但 toArray() 只創建一個發出數組的可觀察對象,不是實 ...
[英]Subscribe to a doc using Svelte / RxJs / RxFire. How can I update the subscription
我在下面的代碼中使用了派生商店。 這感覺像是一個奇怪的構造,因為我只將派生構造用於動態 $session 依賴項並獲取 normData。 但不是 $norm。 我只使用一次 $norm 來啟動派生商店。 盡管如此,它似乎工作正常。 但是如果 $session 發生變化,我必須更新訂閱。 是否可以在 ...
[英]RxJs Is it possible to solve this kind of pivot table problem
我是 RxJs 的新手。 是否可以解決這種類型的 pivot 表問題。 假設我有一個帶有任意數量項目的 stream。 每個項目都是 0 到 999 之間的數字。 我想用這個 stream 做一張桌子。 一個有 10 列的表。 項目的列號等於項目除以 10。因此數字 654 將 go 到第 6 列。 ...
[英]How to merge and observe two collections in Firestore based on reference ID in documents?
我正在使用Google Firestore后端創建一個StencilJS應用程序(無框架),並且我想盡可能多地使用RxFire和RxJS庫來簡化數據訪問代碼。 如何將來自兩個使用引用ID的不同集合的數據合並到一個可觀察的流中? 我已經閱讀並嘗試了幾個在線示例,每個示例都使用不同級別的嵌套 ...
[英]Error: storage/object-not-found when trying to upload large image file
我收到錯誤消息:嘗試使用RxFire在Google Cloud Storage中上傳大型圖像文件時,存儲/找不到對象。 他們說在存儲桶中找不到該圖像,但是當我檢查時,我看到了它們! 我用小圖像(可能100kb ...)測試了,效果很好。 但是嘗試使用> 500kb的圖像, ...
[英]Trouble using catchError with RxFire firestore collectionData
我希望能夠響應調用collectionData的錯誤。 我添加了catchError,但是它從未被調用。 實際上,collectionData發出沒有元素的結果。 使用collectionData處理錯誤的正確方法是什么? ...
[英]Combine Observables into a single Observable from a dynamic array of Observable?
總結:本質上我需要from Users where usergroupIds in [1,3,5] 。 給定usergroupIds$發出usergroupIds$ ID [1,3,5] 我想聯盟的所有用戶通過userids在usergroupIds並結合用戶id(不同) 這是我想出的: ...
[英]How can I join two Firestore queries using rxfire and rxjs (OR query)
目標很簡單:使用rxjs連接兩個firestore查詢, rxfire和rnfirebase對本機庫進行反應。 我讀過多教程1 , 2上加入查詢,但他們都失敗,不同的錯誤。 //Simple test for collectionData import { collectionData ...