我已经向redux派单添加了一个await标记,现在我收到以下错误: index.js:1 Warning: Can't perform a React state update on an unmounted我的代码: login.js: import React, { Component } from 'react'; }
e
我正在开发一个简单的React身份验证web应用程序,每当我尝试登录时,它在第一次尝试时都不起作用。每次登录只在第二次尝试时有效。 当我第一次单击时,我在控制台中得到以下错误。index.js:1 Warning: Can't perform a React state update on an unmounted component./configuration/firebase'
export
我得到了这个错误: index.js:1 Warning: Can't perform a React state update on an unmounted component.但是,我仍然收到错误(当我刷新页面时) import React, { useState, useEffect } from "react"import { useHistory } from "react</