我正在用react-redux ( with )和redux-thunk做一个项目。说到这里,我想使用某种帐号认证。我选择使用Firebase,因为它很受欢迎。所以我开始学习忍者过时的yt课程。知道了这一点,我正在检查firebase的文档,以及如何使用redux-thunk进行身份验证。现在我明白了,当我尝试登录到我的防火墙时,我得到了以下错误:"Firebase实例还不存在,请检查您的复合函数“。另外,
我试图通过redux-thunk操作来查询我的Firebase后端,但是,当我在使用useEffect()的初始渲染中这样做时,我最终得到了这个错误: Error: Maximum update depthReact limits the number of nested updates to prevent infinite loops.我的操作只是返回一个Firebase查询快照,然后在我的reducer中收到它。isAnswersLoading)) console.log(answ