Closed jasan-s closed 1 year ago
Hello guys ! I also had the same issue !
Here are my project informations: "next": "12.2.3", "react-firebase-hooks": "^5.0.3", "firebase": "^9.9.4",
Hi everybody, apologies for the delay in investigating this properly. I've just given this a try and it appears that some of the changes I've made in the newly released v5.1.0 may have inadvertently resolved this issue.
Could I ask you to try v5.1.0 and check whether this has been fixed?
I am closing this issue as it has been confirmed working in #252, but if anybody else is still struggling, please let me know and I can look into it further!
with
reactStrictMode=true
in thenext.config.js
during development the useDocumentOnce never retrieves the snapshot data withuseDocumentOnce
, theloading
remains trueIf i set
reactStrictMode=false
useDocumentOnce retrieves the data correctly.my currect hack is the following: