Create a custom hook that takes a url and options . ... Use the useEffect() hook to asynchronously call fetch() and update the state variables accordingly.
確定! 回上一頁