I recommend axios library because it's the most popular and easy way to make API requests. npm install axios. And now we can fetch data inside our useEffect.
確定! 回上一頁