React Hook useEffect was passed a dependency list that is not an array literal. This means we can't statically verify whether you've passed the correct dependencies.eslint(react-hooks/exhaustive-deps)
React Hook useEffect has a missing dependency: 'url'. Either include it or remove the dependency array.eslint(react-hooks/exhaustive-deps)
代码和课程的一样,点击快速修复的话,会移除deps并将url添加到依赖里面,有点不理解。