Either include it or remove the dependency array react-hooks/exhaustive-deps
将initFoo添加到在useEffect中传递的数组To fix this, wrap the initialization of 'initFoo' in its own useMemo() Hook react-hooks/exhaustive-deps我试图寻找类似的案例--这个警告弹出,但在这里没有找到类似的例子
Either include it or remove the dependency array react-hooks/exhaustive-deps[frontend] .Either include it or remove the dependency array react-hooks/exhaustive-deps[frontend] .Either include them or remove the dependency array react-hooks</e