Fix: with-firebase-authentication maximum update depth exceeded errors #16010
Answered
by
joejknowles
francisrod01
asked this question in
Help
-
Reference to PR #15628 I think your refactor looks great, but we have some different issues now.
For the sidebar I face this error:
For the fetch data I see this one:
|
Beta Was this translation helpful? Give feedback.
Answered by
joejknowles
Aug 9, 2020
Replies: 1 comment 1 reply
-
Hi, yeah, I think you need to return the cancel function from Firebase as the return value for use effect there. Where it says:
Change that to
I'll make a PR for this tomorrow |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
francisrod01
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, yeah, I think you need to return the cancel function from Firebase as the return value for use effect there.
Where it says:
Change that to
I'll make a PR for this tomorrow