我尝试从django服务器检索数据以使用react呈现数据,但是我遇到了一个probem:数据不呈现。我的django服务器运行在localhost:8000中,react应用程序运行在localhost:3000中。我的App.js:import axios from 'axios';
class App extends Rea
React Hooks must be called in a React function component or a custom React Hook functionLine 29:9:React Hook "useEffect" cannot be called inside a callback.React Hooks must be
called in a React function component or a custom Rea